dtc
04-13-2003, 01:57 AM
Using flexbackup and need some help from anyone who may use it. I need help with what to enter in the conf file to exclude a directory.
For example on my full system backup I'm planning to backup:
$filesystems[0] = '/ /usr /var /home /boot';
But I want to exclude certian directories like /proc and some others. I'm guessing it needs to be entered in the exclude, but sorry to say I'm new at this and have no idea on what to put..
==================================
# Exclude files that match these *regular expressions* (not shell wildcards)
# from the backups (no affect on 'dump' archives). You can list more than one,
# just keep incrementing the index in the brackets for each. Also, strip off
# leading directories (the filesystem specs above or the "-fs" flag).
# Matches paths, not filenames, so put .* on the front/back as needed.
# Comment these out to exclude nothing.
$exclude_expr[0] = '.*/[Cc]ache/.*';
$exclude_expr[1] = '.*~$';
===================================
Thanks for any help!
For example on my full system backup I'm planning to backup:
$filesystems[0] = '/ /usr /var /home /boot';
But I want to exclude certian directories like /proc and some others. I'm guessing it needs to be entered in the exclude, but sorry to say I'm new at this and have no idea on what to put..
==================================
# Exclude files that match these *regular expressions* (not shell wildcards)
# from the backups (no affect on 'dump' archives). You can list more than one,
# just keep incrementing the index in the brackets for each. Also, strip off
# leading directories (the filesystem specs above or the "-fs" flag).
# Matches paths, not filenames, so put .* on the front/back as needed.
# Comment these out to exclude nothing.
$exclude_expr[0] = '.*/[Cc]ache/.*';
$exclude_expr[1] = '.*~$';
===================================
Thanks for any help!