Files
tar-multibackup/multibackup.conf
Patrick Niebeling e065e7c19d Adjust git clone
Signed-off-by: Patrick Niebeling <patrick.niebeling@adacor.com>
2025-01-04 22:15:04 +01:00

27 lines
583 B
Plaintext

# Timestamp format, used in the backup target filename
timestamp=$(date +%Y%m%d)
# Destination where you want to store your backups
backup_destination="/var/backups"
# Folders to backup
folders_to_backup=(
"/var/www"
"/var/lib/mysql"
)
# Files and folders that are excluded in the tar command
tar_excludes=()
# Additional tar Options
tar_options=""
# How long to you want to keep your backups (in days)
backup_retention="+7"
# Commands that are executed before the backup started
pre_commands=()
# Commands that are executed after the backup is completed
post_commands=()