X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=examples%2Fexample.dup;h=a5c1b67802824ba561aebcac0bd02172f86d101d;hb=e94597ad053204c0a056505fe3f017ff325489fd;hp=50d957291247e63ea0cd5d498ab8791610a078b4;hpb=a99d05982d166c4bc455ef56773e93b8a558801f;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/examples/example.dup b/examples/example.dup index 50d9572..a5c1b67 100644 --- a/examples/example.dup +++ b/examples/example.dup @@ -55,20 +55,6 @@ password = a_very_complicated_passphrase # files to include in the backup # (supports globbing with '*') -# BIG FAT WARNING -# Symlinks are not dereferenced. Moreover, an include line whose path -# contains, at any level, a symlink to a directory, will only have the -# symlink backed-up, not the target directory's content. Yes, you have -# to dereference yourself the symlinks, or to use 'mount --bind' -# instead. -# EXAMPLE -# Let's say /home is a symlink to /mnt/crypt/home ; the following line -# will only backup a "/home" symlink ; neither /home/user nor -# /home/user/Mail will be backed-up : -# include = /home/user/Mail -# A workaround is to 'mount --bind /mnt/crypt/home /home' ; another -# one is to write : -# include = /mnt/crypt/home/user/Mail include = /var/spool/cron/crontabs include = /var/backups @@ -87,15 +73,15 @@ include = /var/lib/dpkg/status-old # vsinclude = # ... # Any path specified in vsinclude is added to the include list for each vserver -# listed in vsnames (or all if vsnames = all). +# listed in vsnames (or all if vsnames = all, which is the default). # # For example, vsinclude = /home will backup the /home directory in every # vserver listed in vsnames. If you have 'vsnames = foo bar baz', this # vsinclude will add to the include list /vservers/foo/home, /vservers/bar/home # and /vservers/baz/home. # Vservers paths are derived from $VROOTDIR. +# vsinclude supports globbing with '*'. -# rdiff-backup specific comment, TO ADAPT # files to exclude from the backup # (supports globbing with '*') exclude = /home/*/.gnupg