Files
tar-multibackup/multibackup.conf
Patrick Niebeling 303c790d99 First Commit
2024-11-19 11:42:07 +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=()