# Brioche backup configuration file. # # This file is sourced by the brioche backup script. # It should only contain configuration directive, even if technically, more # advanced sections are possible. # BACKUPTAB: Full path to the file describing the backups to perform BACKUPTAB="/etc/briochetab" # MAILTO: Who should receive the email report MAILTO="root" # REPODIR: Where to store the week's backup (locally) REPODIR="/backup" # USAGE_WARN: Add a warning if the REPODIR is nearly full USAGE_WARN="80" # COMPRESS: What kind of compression should tar use. # Can be "none", "gz", "bz2" or "lzma". Make sure your version of tar # understands lzma if you want to use it. COMPRESS="gz" # TAR_OPTS: Additionnal options to the tar invocation. TAR_OPTS="--one-file-system -S" # SNAPSHOT_MOUNTPOINT: Where to mount the temporary LVM snaphot SNAPSHOT_MOUNTPOINT="/mnt/backup-snapshot" # SNAPSHOT_NAME: How to name the snapshot logical volume SNAPSHOT_NAME="brioche-snapshot" # SNAPSHOT_SIZE: The size of the snapshot. See lvcreate(8) for size suffix. # Make sure that it will never become full, or it would be destroyed # automatically, rendering the backup unusable. SNAPSHOT_SIZE="5G" # USE_GPG: Encrypt all the tar archives with GnuPG USE_GPG="no" # GPG_KEY: The *target* GnuPG public key to use GPG_KEY="12345678" # GPG_PASSPHRASE: The passphrase for the backup private key GPG_PASSPHRASE="This is the backup passphrase" # USE_FTP: Mirror the local backup directory on a remote FTP USE_FTP="yes" # FTP_HOST: address of the FTP server FTP_HOST="ftp.example.com" # FTP_DIR: Target directory on the FTP server FTP_DIR="/" # Authentication must be performed with .netrc to avoid giving login/password # on the command line. # How many old full runs sould be kept on the FTP server FTP_KEEP="4"