]> git.alrj.org Git - brioche.git/blobdiff - brioche.conf
Replace lftp's call to 'rmdir' by calls to 'rm -rf'.
[brioche.git] / brioche.conf
index b191bdb5bdf044e503dc1e55edda96a00fe8fb6a..39fa9d3a721018786f00b303dd085192f4d66bf2 100644 (file)
@@ -18,11 +18,12 @@ REPODIR="/backup"
 USAGE_WARN="80"
 
 # COMPRESS: What kind of compression should tar use.
-# Can be "gz", "bz2" or "lzma". Make sure your version of tar understands it.
+# 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-filesystem -S"
+TAR_OPTS="--one-file-system -S"
 
 # SNAPSHOT_MOUNTPOINT: Where to mount the temporary LVM snaphot
 SNAPSHOT_MOUNTPOINT="/mnt/backup-snapshot"
@@ -35,10 +36,26 @@ SNAPSHOT_NAME="brioche-snapshot"
 # automatically, rendering the backup unusable.
 SNAPSHOT_SIZE="5G"
 
-# USE_FTP: Not yet implemented.
-USE_FTP="no"
+# USE_GPG: Encrypt all the tar archives with GnuPG
+USE_GPG="no"
 
-# FTP_HOST="ftpback.example.com"
-# FTP_USER="username"
-# FTP_PASS="password"
-# FTP_KEEP="4"
+# 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"