backbit/conf/conf-dir-sample

24 lines
933 B
Plaintext

# Sample config file for a directory backup
# To enable this backup, softlink or copy to ./dir
# Auxiliary variable declarations
baseDir="/var/lib/backup"
# Name of the backup, used for the log
name="simple_wordpress"
# Service that must be stopped before the backup takes place
service="httpd"
# Directory in which a backup will be created (inside a directory with the
# current date-time), along with its checksum.
outDir="${baseDir}/${name}"
# Directory or directories to back up. To use wildcards or shell expansions,
# use something like "$(ls /my/files/*.png)". Multiple directories may be
# specified, separated by spaces. Individual files may also be specified.
dir="/srv/http/my_wordpress /etc/httpd/conf/my_wordpress.conf"
# Maximum number of backups to keep. When the number is reached, the oldest
# will be deleted until the maximum is satisfied. 0 == infinity
maxBackups=10
# Auxiliary variable removal
unset baseDir