Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Baronne Mouton on November 26, 2001, 07:39:56 PM

Title: Selective Backup
Post by: Baronne Mouton 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.
Title: Re: Selective Backup
Post by: Brad Schneider 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
Title: Re: Selective Backup
Post by: Brad Schneider 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
Title: Re: Selective Backup
Post by: Filippo Carletti 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/';
Title: Re: Selective Backup
Post by: Geoff 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
Title: Re: Selective Backup
Post by: brian read 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