]> git.alrj.org Git - brioche.git/blobdiff - brioche.conf
FTP support, less (or different) bugs, updated documentation.
[brioche.git] / brioche.conf
index b191bdb5bdf044e503dc1e55edda96a00fe8fb6a..fd82863ddf9dd09fe16b323a2e31f05ce17758f2 100644 (file)
@@ -22,7 +22,7 @@ USAGE_WARN="80"
 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 +35,17 @@ SNAPSHOT_NAME="brioche-snapshot"
 # automatically, rendering the backup unusable.
 SNAPSHOT_SIZE="5G"
 
-# USE_FTP: Not yet implemented.
-USE_FTP="no"
+# USE_FTP: Mirror the local backup directory on a remote FTP
+USE_FTP="yes"
 
-# FTP_HOST="ftpback.example.com"
-# FTP_USER="username"
-# FTP_PASS="password"
-# FTP_KEEP="4"
+# 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"