changed spaces to tabs
This commit is contained in:
parent
57d27308ef
commit
2dce9a5d44
@ -12,7 +12,7 @@
|
|||||||
# CONFIG FILE VERSION #
|
# CONFIG FILE VERSION #
|
||||||
#######################
|
#######################
|
||||||
|
|
||||||
config_version 1.2
|
config_version 1.2
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
# SNAPSHOT ROOT DIRECTORY #
|
# SNAPSHOT ROOT DIRECTORY #
|
||||||
@ -20,7 +20,7 @@ config_version 1.2
|
|||||||
|
|
||||||
# All snapshots will be stored under this root directory.
|
# All snapshots will be stored under this root directory.
|
||||||
#
|
#
|
||||||
snapshot_root /var/cache/rsnapshot/
|
snapshot_root /var/cache/rsnapshot/
|
||||||
|
|
||||||
# If no_create_root is enabled, rsnapshot will not automatically create the
|
# If no_create_root is enabled, rsnapshot will not automatically create the
|
||||||
# snapshot_root directory. This is particularly useful if you are backing
|
# snapshot_root directory. This is particularly useful if you are backing
|
||||||
@ -37,16 +37,16 @@ snapshot_root /var/cache/rsnapshot/
|
|||||||
#
|
#
|
||||||
# See the README file or the man page for more details.
|
# See the README file or the man page for more details.
|
||||||
#
|
#
|
||||||
cmd_cp /bin/cp
|
cmd_cp /bin/cp
|
||||||
|
|
||||||
# uncomment this to use the rm program instead of the built-in perl routine.
|
# uncomment this to use the rm program instead of the built-in perl routine.
|
||||||
#
|
#
|
||||||
cmd_rm /bin/rm
|
cmd_rm /bin/rm
|
||||||
|
|
||||||
# rsync must be enabled for anything to work. This is the only command that
|
# rsync must be enabled for anything to work. This is the only command that
|
||||||
# must be enabled.
|
# must be enabled.
|
||||||
#
|
#
|
||||||
cmd_rsync /usr/bin/rsync
|
cmd_rsync /usr/bin/rsync
|
||||||
|
|
||||||
# Uncomment this to enable remote ssh backups over rsync.
|
# Uncomment this to enable remote ssh backups over rsync.
|
||||||
#
|
#
|
||||||
@ -54,7 +54,7 @@ cmd_rsync /usr/bin/rsync
|
|||||||
|
|
||||||
# Comment this out to disable syslog support.
|
# Comment this out to disable syslog support.
|
||||||
#
|
#
|
||||||
cmd_logger /usr/bin/logger
|
cmd_logger /usr/bin/logger
|
||||||
|
|
||||||
# Uncomment this to specify the path to "du" for disk usage checks.
|
# 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
|
# If you have an older version of "du", you may also want to check the
|
||||||
@ -90,10 +90,10 @@ cmd_logger /usr/bin/logger
|
|||||||
# e.g. alpha, beta, gamma, etc. #
|
# e.g. alpha, beta, gamma, etc. #
|
||||||
#########################################
|
#########################################
|
||||||
|
|
||||||
retain alpha 6
|
retain alpha 6
|
||||||
retain beta 7
|
retain beta 7
|
||||||
retain gamma 4
|
retain gamma 4
|
||||||
retain delta 12
|
retain delta 12
|
||||||
|
|
||||||
############################################
|
############################################
|
||||||
# GLOBAL OPTIONS #
|
# GLOBAL OPTIONS #
|
||||||
@ -107,13 +107,13 @@ retain delta 12
|
|||||||
# 4 Extra Verbose Show extra verbose information
|
# 4 Extra Verbose Show extra verbose information
|
||||||
# 5 Debug mode Everything
|
# 5 Debug mode Everything
|
||||||
#
|
#
|
||||||
verbose 2
|
verbose 2
|
||||||
|
|
||||||
# Same as "verbose" above, but controls the amount of data sent to the
|
# Same as "verbose" above, but controls the amount of data sent to the
|
||||||
# logfile, if one is being used. The default is 3.
|
# logfile, if one is being used. The default is 3.
|
||||||
# If you want the rsync output, you have to set it to 4
|
# If you want the rsync output, you have to set it to 4
|
||||||
#
|
#
|
||||||
loglevel 3
|
loglevel 3
|
||||||
|
|
||||||
# If you enable this, data will be written to the file you specify. The
|
# If you enable this, data will be written to the file you specify. The
|
||||||
# amount of data written is controlled by the "loglevel" parameter.
|
# amount of data written is controlled by the "loglevel" parameter.
|
||||||
@ -125,7 +125,7 @@ loglevel 3
|
|||||||
# If you enable this, make sure the lockfile directory is not world
|
# If you enable this, make sure the lockfile directory is not world
|
||||||
# writable. Otherwise anyone can prevent the program from running.
|
# writable. Otherwise anyone can prevent the program from running.
|
||||||
#
|
#
|
||||||
lockfile /var/run/rsnapshot.pid
|
lockfile /var/run/rsnapshot.pid
|
||||||
|
|
||||||
# By default, rsnapshot check lockfile, check if PID is running
|
# By default, rsnapshot check lockfile, check if PID is running
|
||||||
# and if not, consider lockfile as stale, then start
|
# and if not, consider lockfile as stale, then start
|
||||||
@ -224,8 +224,8 @@ lockfile /var/run/rsnapshot.pid
|
|||||||
###############################
|
###############################
|
||||||
|
|
||||||
# LOCALHOST
|
# LOCALHOST
|
||||||
#backup /home/ localhost/
|
#backup /home/ localhost/
|
||||||
#backup /etc/ localhost/
|
#backup /etc/ localhost/
|
||||||
#backup /usr/local/ localhost/
|
#backup /usr/local/ localhost/
|
||||||
|
|
||||||
#backup /var/log/rsnapshot localhost/
|
#backup /var/log/rsnapshot localhost/
|
||||||
@ -251,4 +251,4 @@ lockfile /var/run/rsnapshot.pid
|
|||||||
#backup rsync://rsync.samba.org/rsyncftp/ rsync.samba.org/rsyncftp/
|
#backup rsync://rsync.samba.org/rsyncftp/ rsync.samba.org/rsyncftp/
|
||||||
|
|
||||||
|
|
||||||
backup /var/vault/ localhost/
|
backup /var/vault/ localhost/
|
||||||
|
Loading…
Reference in New Issue
Block a user