]> git.alrj.org Git - brioche.git/blob - brioche.conf
Replace lftp's call to 'rmdir' by calls to 'rm -rf'.
[brioche.git] / brioche.conf
1 # Brioche backup configuration file.
2 #
3 # This file is sourced by the brioche backup script.
4 # It should only contain configuration directive, even if technically, more
5 # advanced sections are possible.
6
7
8 # BACKUPTAB: Full path to the file describing the backups to perform
9 BACKUPTAB="/etc/briochetab"
10
11 # MAILTO: Who should receive the email report
12 MAILTO="root"
13
14 # REPODIR: Where to store the week's backup (locally)
15 REPODIR="/backup"
16
17 # USAGE_WARN: Add a warning if the REPODIR is nearly full
18 USAGE_WARN="80"
19
20 # COMPRESS: What kind of compression should tar use.
21 # Can be "none", "gz", "bz2" or "lzma". Make sure your version of tar
22 # understands lzma if you want to use it.
23 COMPRESS="gz"
24
25 # TAR_OPTS: Additionnal options to the tar invocation.
26 TAR_OPTS="--one-file-system -S"
27
28 # SNAPSHOT_MOUNTPOINT: Where to mount the temporary LVM snaphot
29 SNAPSHOT_MOUNTPOINT="/mnt/backup-snapshot"
30
31 # SNAPSHOT_NAME: How to name the snapshot logical volume
32 SNAPSHOT_NAME="brioche-snapshot"
33
34 # SNAPSHOT_SIZE: The size of the snapshot. See lvcreate(8) for size suffix.
35 # Make sure that it will never become full, or it would be destroyed
36 # automatically, rendering the backup unusable.
37 SNAPSHOT_SIZE="5G"
38
39 # USE_GPG: Encrypt all the tar archives with GnuPG
40 USE_GPG="no"
41
42 # GPG_KEY: The *target* GnuPG public key to use
43 GPG_KEY="12345678"
44
45 # GPG_PASSPHRASE: The passphrase for the backup private key
46 GPG_PASSPHRASE="This is the backup passphrase"
47
48 # USE_FTP: Mirror the local backup directory on a remote FTP
49 USE_FTP="yes"
50
51 # FTP_HOST: address of the FTP server
52 FTP_HOST="ftp.example.com"
53
54 # FTP_DIR: Target directory on the FTP server
55 FTP_DIR="/"
56
57 # Authentication must be performed with .netrc to avoid giving login/password
58 # on the command line.
59
60 # How many old full runs sould be kept on the FTP server
61 FTP_KEEP="4"