First Commit

This commit is contained in:
Patrick Niebeling
2024-11-19 11:42:07 +01:00
commit 303c790d99
4 changed files with 314 additions and 0 deletions

26
multibackup.conf Normal file
View File

@ -0,0 +1,26 @@
# 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=()