Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Add an example config file
  • Loading branch information
tdemin committed Jun 3, 2019
1 parent 27f5162 commit b01d592
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions backups.conf.example
@@ -0,0 +1,25 @@
# 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
)

0 comments on commit b01d592

Please sign in to comment.