Search
j0ke.net Open Build Service
>
Projects
>
server:backup
>
rsnapshot
> rsnapshot-1.4.3_config.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File rsnapshot-1.4.3_config.patch of Package rsnapshot (Revision 23)
Currently displaying revision
23
,
show latest
--- rsnapshot.conf.default.in.orig 2020-01-24 13:52:15.457683193 +0100 +++ rsnapshot.conf.default.in 2020-01-24 13:58:50.798004796 +0100 @@ -37,7 +37,7 @@ # # See the README file or the man page for more details. # -#@CMD_CP@ +@CMD_CP@ # uncomment this to use the rm program instead of the built-in perl routine. # @@ -50,7 +50,7 @@ # Uncomment this to enable remote ssh backups over rsync. # -#@CMD_SSH@ +@CMD_SSH@ # Comment this out to disable syslog support. # @@ -60,11 +60,11 @@ # If you have an older version of "du", you may also want to check the # "du_args" parameter below. # -#@CMD_DU@ +@CMD_DU@ # Uncomment this to specify the path to rsnapshot-diff. # -#cmd_rsnapshot_diff /usr/local/bin/rsnapshot-diff +cmd_rsnapshot_diff /usr/bin/rsnapshot-diff # Specify the path to a script (and any optional arguments) to run right # before rsnapshot syncs files @@ -79,10 +79,10 @@ # Paths to lvcreate, lvremove, mount and umount commands, for use with # Linux LVMs. # -#linux_lvm_cmd_lvcreate @CMD_LVCREATE@ -#linux_lvm_cmd_lvremove @CMD_LVREMOVE@ -#linux_lvm_cmd_mount @CMD_MOUNT@ -#linux_lvm_cmd_umount @CMD_UMOUNT@ +linux_lvm_cmd_lvcreate @CMD_LVCREATE@ +linux_lvm_cmd_lvremove @CMD_LVREMOVE@ +linux_lvm_cmd_mount @CMD_MOUNT@ +linux_lvm_cmd_umount @CMD_UMOUNT@ ######################################### # BACKUP LEVELS / INTERVALS # @@ -90,9 +90,9 @@ # e.g. alpha, beta, gamma, etc. # ######################################### -retain alpha 6 -retain beta 7 -retain gamma 4 +retain hourly 6 +retain daily 7 +retain weekly 4 #retain delta 3 ############################################ @@ -107,7 +107,7 @@ # 4 Extra Verbose Show extra verbose information # 5 Debug mode Everything # -verbose 2 +verbose 4 # Same as "verbose" above, but controls the amount of data sent to the # logfile, if one is being used. The default is 3. @@ -117,7 +117,7 @@ # 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 +logfile /var/log/rsnapshot # If enabled, rsnapshot will write a lockfile to prevent two instances # from running simultaneously (and messing up the snapshot_root). @@ -204,28 +204,28 @@ # # LVM snapshot(s) size (lvcreate --size option). # -#linux_lvm_snapshotsize 100M +linux_lvm_snapshotsize 1G # Name to be used when creating the LVM logical volume snapshot(s). # -#linux_lvm_snapshotname rsnapshot +linux_lvm_snapshotname rsnapshot # Path to the LVM Volume Groups. # -#linux_lvm_vgpath /dev +linux_lvm_vgpath /dev # Mount point to use to temporarily mount the snapshot(s). # -#linux_lvm_mountpath /path/to/mount/lvm/snapshot/during/backup +linux_lvm_mountpath /opt/backups/lvm-snapshot ############################### ### BACKUP POINTS / SCRIPTS ### ############################### # LOCALHOST -backup /home/ localhost/ -backup /etc/ localhost/ -backup /usr/local/ localhost/ +#backup /home/ localhost/ +#backup /etc/ localhost/ +#backup /usr/local/ localhost/ #backup /var/log/rsnapshot localhost/ #backup /etc/passwd localhost/ #backup /home/foo/My Documents/ localhost/