Koozali.org: home of the SME Server

Selective Backup

Baronne Mouton

Selective Backup
« on: November 26, 2001, 07:39:56 PM »
wossup? can I do a selective backup? ie. exclude stuff like mp3s and various other folders?

shup

baronne.

Brad Schneider

Re: Selective Backup
« Reply #1 on: March 12, 2002, 08:31:13 AM »
I'm looking into this too.  I'm looking at option in the /etc/flexbackup.conf.  Paticularly the exclude_expr.   Does anyone out there know how to exclude an I-bay during automatic backup?  Or exclude file types during automatic backup.  Or both.

Thanks,
Brad

Brad Schneider

Re: Selective Backup
« Reply #2 on: March 12, 2002, 08:31:18 AM »
I'm looking into this too.  I'm looking at option in the /etc/flexbackup.conf.  Paticularly the exclude_expr.   Does anyone out there know how to exclude an I-bay during automatic backup?  Or exclude file types during automatic backup.  Or both.

Thanks,
Brad

Filippo Carletti

Re: Selective Backup
« Reply #3 on: March 12, 2002, 02:46:23 PM »
exclude_expr works, but you have to change backup format from dump to tar or cpio.
To exclude ibay named mp3 you'd write
$exclude_expr[2] = '/mp3/';

Geoff

Re: Selective Backup
« Reply #4 on: August 19, 2002, 05:34:22 PM »
To exclude ibay named mp3 you'd write
$exclude_expr[2] = '/mp3/';

Just out of interest, does this exclude only an ibay or _any_ directory called "mp3" ?

Geoff

brian read

Re: Selective Backup
« Reply #5 on: August 19, 2002, 06:44:53 PM »
>but you have to change backup format from dump to tar or cpio

I've just tried the exclude_exprs, and it seems to have backed up ok, but I didn't change any format in the felxbackup.conf file.

What's the issue here?

Brian