change example conf to use single quotes for passphrases and paths

This commit is contained in:
zertrin 2017-11-05 11:08:24 +08:00
parent 13af8206e3
commit dba25a57de

View file

@ -75,7 +75,7 @@
# This can be / or somewhere else -- I use /home/ because all the # This can be / or somewhere else -- I use /home/ because all the
# directories that I want to backup start with /home/. # directories that I want to backup start with /home/.
# #
ROOT="/home" ROOT='/home'
# Set hostname for this duplicity instance, useful for e-mail reports # Set hostname for this duplicity instance, useful for e-mail reports
# #
@ -128,7 +128,7 @@ DEST="s3+http://foobar-backup-bucket/backup-folder/"
# setting it in the backend url (which might be readable in the operating # setting it in the backend url (which might be readable in the operating
# systems process listing to other users on the same machine)." # systems process listing to other users on the same machine)."
# #
#FTP_PASSWORD="password" #FTP_PASSWORD='password'
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
@ -182,15 +182,15 @@ DEST="s3+http://foobar-backup-bucket/backup-folder/"
# #
# Here is an example with multiple locations: # Here is an example with multiple locations:
# #
#INCLIST=( "/home/*/Documents" \ #INCLIST=( '/home/*/Documents' \
# "/home/*/Projects" \ # '/home/*/Projects' \
# "/home/*/logs" \ # '/home/*/logs' \
# "/home/www/mysql-backups" \ # '/home/www/mysql-backups' \
# ) # )
# #
# Simpler example with one location: # Simpler example with one location:
INCLIST=( "/home/foobar_user_name/Documents/" ) INCLIST=( '/home/foobar_user_name/Documents/' )
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
@ -202,18 +202,18 @@ INCLIST=( "/home/foobar_user_name/Documents/" )
# #
# Here is an example with multiple locations: # Here is an example with multiple locations:
# #
#EXCLIST=( "/home/*/Trash" \ #EXCLIST=( '/home/*/Trash' \
# "/home/*/Projects/Completed" \ # '/home/*/Projects/Completed' \
# "/**.DS_Store" \ # '/**.DS_Store' \
# "/**Icon?" \ # '/**Icon?' \
# "/**.AppleDouble" \ # '/**.AppleDouble' \
# ) # )
# #
# If you don't want to exclude anything, use EXCLIST=() # If you don't want to exclude anything, use EXCLIST=()
# #
# Simpler example with one location. Adapt it to your needs. # Simpler example with one location. Adapt it to your needs.
EXCLIST=( "/home/foobar_user_name/Documents/foobar-to-exclude" ) EXCLIST=( '/home/foobar_user_name/Documents/foobar-to-exclude' )
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
@ -260,9 +260,9 @@ ENCRYPTION='yes'
# (your backups will be encrypted with this password) or is used # (your backups will be encrypted with this password) or is used
# for the "GPG_SIGN_KEY" (see below). # for the "GPG_SIGN_KEY" (see below).
# Comment out if you aren't using encryption # Comment out if you aren't using encryption
# Note: if you have a '$' in your passphrase, escape it with a '\' # Note: if you have a ' in your passphrase, escape it accordingly.
PASSPHRASE="foobar_gpg_passphrase" PASSPHRASE='foobar_gpg_passphrase'
# Specify which GPG keys you would like to use (even if you have only one). # Specify which GPG keys you would like to use (even if you have only one).
# If you are running this from a cron, it is highly recommended to create separate # If you are running this from a cron, it is highly recommended to create separate