# Any files which you don't want to show up in the rsync output (e.g. mail # spool files which change often, /tmp, etc.), can be filtered out using # `egrep' compatible regular expressions within a LOG_EXCLUDE variable. # Logged locations do not begin with the leading slash, so /tmp would be # filtered with an expression looking for "tmp/". # # Note: # the LOG_EXCLUDE line must follow bash variable requirements, so no space is # allowed before the equals sign. # # Example # LOG_EXCLUDE="tmp/|var/spool/mail" LOG_EXCLUDE="tmp/|var/spool|home/|var/log|var/cache" # Configuring the script to back up a file system is a very simple process. # Most of the logic is calculated automatically, so only the original [LVM] # file system and the target image must be specified # # Example: # /dev/VolGroup00/LogVol00:/mnt/bigdrive/SysBackup # # This would create a backup of the LogVol00 LVM partition (which most of the # time happens to be the / file system, and it'll save it to the image SysBackup # which resides on an external hard drive. /dev/System/fc6:/mnt/smb/userdata/root/FC6-Backup-File