dba25a57deb41febf0e6602780f596e90e120ef3

Author
zertrin <zertrin@gmail.com>
Committer
zertrin <zertrin@gmail.com>
Date

Message

change example conf to use single quotes for passphrases and paths

Diff

 1diff --git a/duplicity-backup.conf.example b/duplicity-backup.conf.example
 2index 50b1b6af63ea758e3fcf1a47a819635cca5d8381..a885889ee97747ab167cae388c8c5e7d3d2e1e13 100644
 3--- a/duplicity-backup.conf.example
 4+++ b/duplicity-backup.conf.example
 5@@ -75,7 +75,7 @@
 6 # This can be / or somewhere else -- I use /home/ because all the
 7 # directories that I want to backup start with /home/.
 8 #
 9-ROOT="/home"
10+ROOT='/home'
11 
12 # Set hostname for this duplicity instance, useful for e-mail reports
13 #
14@@ -128,7 +128,7 @@ DEST="s3+http://foobar-backup-bucket/backup-folder/"
15 #    setting it in the backend url (which might be readable in the operating
16 #    systems process listing to other users on the same machine)."
17 #
18-#FTP_PASSWORD="password"
19+#FTP_PASSWORD='password'
20 
21 
22 # ------------------------------------------------------------------------------
23@@ -182,15 +182,15 @@ DEST="s3+http://foobar-backup-bucket/backup-folder/"
24 #
25 # Here is an example with multiple locations:
26 #
27-#INCLIST=(  "/home/*/Documents" \
28-#           "/home/*/Projects" \
29-#           "/home/*/logs" \
30-#           "/home/www/mysql-backups" \
31+#INCLIST=(  '/home/*/Documents' \
32+#           '/home/*/Projects' \
33+#           '/home/*/logs' \
34+#           '/home/www/mysql-backups' \
35 #        )
36 #
37 # Simpler example with one location:
38 
39-INCLIST=( "/home/foobar_user_name/Documents/" )
40+INCLIST=( '/home/foobar_user_name/Documents/' )
41 
42 
43 # ------------------------------------------------------------------------------
44@@ -202,18 +202,18 @@ INCLIST=( "/home/foobar_user_name/Documents/" )
45 #
46 # Here is an example with multiple locations:
47 #
48-#EXCLIST=(   "/home/*/Trash" \
49-#            "/home/*/Projects/Completed" \
50-#            "/**.DS_Store" \
51-#            "/**Icon?" \
52-#            "/**.AppleDouble" \
53+#EXCLIST=(   '/home/*/Trash' \
54+#            '/home/*/Projects/Completed' \
55+#            '/**.DS_Store' \
56+#            '/**Icon?' \
57+#            '/**.AppleDouble' \
58 #        )
59 #
60 # If you don't want to exclude anything, use EXCLIST=()
61 #
62 # Simpler example with one location. Adapt it to your needs.
63 
64-EXCLIST=( "/home/foobar_user_name/Documents/foobar-to-exclude" )
65+EXCLIST=( '/home/foobar_user_name/Documents/foobar-to-exclude' )
66 
67 
68 # ------------------------------------------------------------------------------
69@@ -260,9 +260,9 @@ ENCRYPTION='yes'
70 # (your backups will be encrypted with this password) or is used
71 # for the "GPG_SIGN_KEY" (see below).
72 # Comment out if you aren't using encryption
73-# Note: if you have a '$' in your passphrase, escape it with a '\'
74+# Note: if you have a ' in your passphrase, escape it accordingly.
75 
76-PASSPHRASE="foobar_gpg_passphrase"
77+PASSPHRASE='foobar_gpg_passphrase'
78 
79 # Specify which GPG keys you would like to use (even if you have only one).
80 # If you are running this from a cron, it is highly recommended to create separate