]> git.alrj.org Git - brioche.git/blob - brioche.conf
FTP support, less (or different) bugs, updated documentation.
[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 "gz", "bz2" or "lzma". Make sure your version of tar understands it.
22 COMPRESS="gz"
23
24 # TAR_OPTS: Additionnal options to the tar invocation.
25 TAR_OPTS="--one-file-system -S"
26
27 # SNAPSHOT_MOUNTPOINT: Where to mount the temporary LVM snaphot
28 SNAPSHOT_MOUNTPOINT="/mnt/backup-snapshot"
29
30 # SNAPSHOT_NAME: How to name the snapshot logical volume
31 SNAPSHOT_NAME="brioche-snapshot"
32
33 # SNAPSHOT_SIZE: The size of the snapshot. See lvcreate(8) for size suffix.
34 # Make sure that it will never become full, or it would be destroyed
35 # automatically, rendering the backup unusable.
36 SNAPSHOT_SIZE="5G"
37
38 # USE_FTP: Mirror the local backup directory on a remote FTP
39 USE_FTP="yes"
40
41 # FTP_HOST: address of the FTP server
42 FTP_HOST="ftp.example.com"
43
44 # FTP_DIR: Target directory on the FTP server
45 FTP_DIR="/"
46
47 # Authentication must be performed with .netrc to avoid giving login/password
48 # on the command line.
49
50 # How many old full runs sould be kept on the FTP server
51 FTP_KEEP="4"