This repository has been archived on 2020-08-01. You can view files and clone it, but cannot push or open issues/pull-requests.
backup/backups.conf.example

26 lines
826 B
Plaintext

# This file is a shell script that is sourced at the start of the backup script.
# Feel free to hack on it as you like.
# Only the first parameter is required.
BACKUP_DIR=/tmp/backups
# BACKUP_DIR_POSTGRES=/tmp/postgres_backups
# BACKUP_DIR_DOCKER=/tmp/docker_backups
# BACKUP_DIR_CONFIGS=/tmp/configs_dir
# The default compression format. Can be anything tar(1) recognizes. Optional.
BACKUP_EXT=".tar.gz"
# Purge the backups older than this value in days (find -ctime +DAYS). Optional.
BACKUP_AGE=2
# A bash array containing the files/directories you want to save.
# Required (if a -c or an -a backup is run).
BACKUP_FILES=(
/etc/backups.conf
/etc/postgresql
)
# A list of databases you want to back up while the -p backup is running.
# Required (if you run the script with -p).
BACKUP_DATABASES=(
template1
)