123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- #################################################
- # rsnapshot.conf - rsnapshot configuration file #
- #################################################
- # #
- # PLEASE BE AWARE OF THE FOLLOWING RULE: #
- # #
- # This file requires tabs between elements #
- # #
- #################################################
- ## CONFIG FILE VERSION
- config_version 1.2
- ## SNAPSHOT ROOT DIRECTORY
- # All snapshots will be stored under this root directory.
- #
- snapshot_root /mnt/YOUR_UUID_HERE
- # If no_create_root is enabled, rsnapshot will not automatically create the
- # snapshot_root directory. This is particularly useful if you are backing
- # up to removable media, such as a FireWire or USB drive.
- #
- #no_create_root 1
- ### External Deps ### {{{
- cmd_cp /bin/cp
- cmd_rm /bin/rm
- cmd_rsync /usr/bin/rsync
- cmd_ssh /usr/bin/ssh
- cmd_logger /usr/bin/logger
- cmd_du /usr/bin/du
- cmd_rsnapshot_diff /usr/bin/rsnapshot-diff
- # Specify the path to a script (and any optional arguments) to run right
- # before rsnapshot syncs files
- #
- #cmd_preexec /path/to/preexec/script
- # Specify the path to a script (and any optional arguments) to run right
- # after rsnapshot syncs files
- #
- #cmd_postexec /path/to/postexec/script
- # Paths to lvcreate, lvremove, mount and umount commands, for use with
- # Linux LVMs.
- #
- #linux_lvm_cmd_lvcreate /sbin/lvcreate
- #linux_lvm_cmd_lvremove /sbin/lvremove
- #linux_lvm_cmd_mount /bin/mount
- #linux_lvm_cmd_umount /bin/umount
- ### End External Deps ### }}}
- ### Intervals ### {{{
- ## Must be unique and in ascending order
- retain hourly 24
- retain daily 7
- retain weekly 4
- retain monthly 12
- retain yearly 5
- ### End Intercals ### }}}
- ### Global Opts ### {{{
- ############################################
- # GLOBAL OPTIONS #
- # All are optional, with sensible defaults #
- ############################################
- # Verbose level, 1 through 5.
- # 1 Quiet Print fatal errors only
- # 2 Default Print errors and warnings only
- # 3 Verbose Show equivalent shell commands being executed
- # 4 Extra Verbose Show extra verbose information
- # 5 Debug mode Everything
- #
- verbose 2
- # Same as "verbose" above, but controls the amount of data sent to the
- # logfile, if one is being used. The default is 3.
- # If you want the rsync output, you have to set it to 4
- #
- loglevel 3
- # If you enable this, data will be written to the file you specify. The
- # amount of data written is controlled by the "loglevel" parameter.
- #
- #logfile /var/log/rsnapshot.log
- # If enabled, rsnapshot will write a lockfile to prevent two instances
- # from running simultaneously (and messing up the snapshot_root).
- # If you enable this, make sure the lockfile directory is not world
- # writable. Otherwise anyone can prevent the program from running.
- #
- lockfile /var/run/rsnapshot.pid
- # Default rsync args. All rsync commands have at least these options set.
- #
- #rsync_short_args -a
- #rsync_long_args --delete --numeric-ids --relative --delete-excluded
- rsync_long_args -ev --rsync-path=/usr/bin/rsync
- # ssh has no args passed by default, but you can specify some here.
- #
- #ssh_args -i /home/backup/.ssh/id_rsa
- # If this is enabled, rsync won't span filesystem partitions within a
- # backup point. This essentially passes the -x option to rsync.
- # The default is 0 (off).
- #
- one_fs 0
- # The include and exclude parameters, if enabled, simply get passed directly
- # to rsync. If you have multiple include/exclude patterns, put each one on a
- # separate line. Please look up the --include and --exclude options in the
- # rsync man page for more details on how to specify file name patterns.
- #
- #include ???
- #exclude ???
- ## Root
- exclude /dev
- exclude /proc
- exclude /sys
- exclude /mnt/
- exclude /var/cache
- exclude /var/tmp/*
- exclude /media/
- exclude /run
- exclude /tmp
- ## Home dir
- exclude /home/demure/temp/*
- exclude /home/demure/vault
- exclude /home/demure/.config/chromium
- exclude /home/demure/.steam/steam/SteamApps/common
- exclude /home/demure/.icedove/.*\.default
- ## Generic
- exclude .cache
- exclude .mail
- exclude .thumbnails
- ### End Global Opts ### }}}
- ### Backup Points ### {{{
- ## For local cryptshotr
- backup / doom/
- ## For remote cryptshotr
- #backup backups@moving-computer-of-doom.local:/ doom/
- ### End Backup Points ### }}}
|