X-Git-Url: https://git.alrj.org/?p=brioche.git;a=blobdiff_plain;f=brioche.conf;fp=brioche.conf;h=fd82863ddf9dd09fe16b323a2e31f05ce17758f2;hp=b191bdb5bdf044e503dc1e55edda96a00fe8fb6a;hb=5430e18aa198b619dd5e4a812dccc96751aba970;hpb=d7afcf54c97edfdb414913c99baf121aa5626f72 diff --git a/brioche.conf b/brioche.conf index b191bdb..fd82863 100644 --- a/brioche.conf +++ b/brioche.conf @@ -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"