File rsnapshot-config.patch of Package rsnapshot
Index: rsnapshot.conf.default.in
===================================================================
--- rsnapshot.conf.default.in.orig
+++ rsnapshot.conf.default.in
@@ -37,7 +37,7 @@ snapshot_root /.snapshots/
#
# 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,21 +50,21 @@ snapshot_root /.snapshots/
# Uncomment this to enable remote ssh backups over rsync.
#
-#@CMD_SSH@
+cmd_ssh /usr/bin/ssh
# Comment this out to disable syslog support.
#
-@CMD_LOGGER@
+cmd_logger /usr/bin/logger
# Uncomment this to specify the path to "du" for disk usage checks.
# 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
@@ -117,7 +117,7 @@ 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
+logfile /var/log/rsnapshot
# If enabled, rsnapshot will write a lockfile to prevent two instances
# from running simultaneously (and messing up the snapshot_root).
@@ -168,7 +168,7 @@ lockfile /var/run/rsnapshot.pid
# This is the best way to support special files (FIFOs, etc) cross-platform.
# The default is 0 (off).
#
-#link_dest 0
+link_dest 1
# When sync_first is enabled, it changes the default behaviour of rsnapshot.
# Normally, when rsnapshot is called with its lowest interval
@@ -183,7 +183,7 @@ lockfile /var/run/rsnapshot.pid
# to [interval_name].delete, then it will remove the lockfile and delete
# that directory just before it exits. The default is 0 (off).
#
-#use_lazy_deletes 0
+use_lazy_deletes 1
# Number of rsync re-tries. If you experience any network problems or
# network card issues that tend to cause ssh to fail with errors like