backbit/conf/conf-db-sample
2019-10-07 12:00:59 +02:00

23 lines
810 B
Text

# Sample config file for a database backup
# To enable this backup, softlink or copy to ./db
# 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}"
# Database settings: name, user (with read permissions) and password for said user
dbName="my_wordpress_user"
dbUser="my_wordpress_db"
dbPassword="my_secret_password"
# Maximum number of backups to keep. When the number is reached, the oldest
# will be deleted until the maximum is satisfied. 0 == infinity
maxBackups=30
# Auxiliary variable removal
unset baseDir