Advertisement
Guest User

Untitled

a guest
Aug 15th, 2017
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.26 KB | None | 0 0
  1. # gpg encryption settings, simple settings:
  2. # GPG_KEY='disabled' - disables encryption alltogether
  3. # GPG_KEY='<key1>[,<key2>]'; GPG_PW='pass' - encrypt with keys,
  4. # sign if secret key of key1 is available use GPG_PW for sign & decrypt
  5. # Note: you can specify keys via all methods described in gpg manpage,
  6. # section "How to specify a user ID", escape commas (,) via backslash (\)
  7. # e.g. 'Mueller, Horst', 'Bernd' -> 'Mueller\, Horst, Bernd'
  8. # as they are used to separate the entries
  9. # GPG_PW='passphrase' - symmetric encryption using passphrase only
  10. GPG_KEY='ABC'
  11. GPG_PW='1234'
  12. # gpg encryption settings in detail (extended settings)
  13. # the above settings translate to the following more specific settings
  14. # GPG_KEYS_ENC='<keyid1>[,<keyid2>,...]' - list of pubkeys to encrypt to
  15. # GPG_KEY_SIGN='<keyid1>|disabled' - a secret key for signing
  16. # GPG_PW='<passphrase>' - needed for signing, decryption and symmetric
  17. # encryption. If you want to deliver different passphrases for e.g.
  18. # several keys or symmetric encryption plus key signing you can use
  19. # gpg-agent. Simply make sure that GPG_AGENT_INFO is set in environment.
  20. # also see "A NOTE ON SYMMETRIC ENCRYPTION AND SIGNING" in duplicity manpage
  21. # notes on en/decryption
  22. # private key and passphrase will only be needed for decryption or signing.
  23. # decryption happens on restore and incrementals (compare archdir contents).
  24. # for security reasons it makes sense to separate the signing key from the
  25. # encryption keys. https://answers.launchpad.net/duplicity/+question/107216
  26. #GPG_KEYS_ENC='<pubkey1>,<pubkey2>,...'
  27. #GPG_KEY_SIGN='<prvkey>'
  28. # set if signing key passphrase differs from encryption (key) passphrase
  29. # NOTE: available since duplicity 0.6.14, translates to SIGN_PASSPHRASE
  30. #GPG_PW_SIGN='<signpass>'
  31.  
  32. # uncomment and set a file path or name force duply to use this gpg executable
  33. # available in duplicity 0.7.04 and above (currently unreleased 06/2015)
  34. #GPG='/usr/local/gpg-2.1/bin/gpg'
  35.  
  36. # gpg options passed from duplicity to gpg process (default='')
  37. # e.g. "--trust-model pgp|classic|direct|always"
  38. # or "--compress-algo=bzip2 --bzip2-compress-level=9"
  39. # or "--personal-cipher-preferences AES256,AES192,AES..."
  40. # or "--homedir ~/.duply" - keep keyring and gpg settings duply specific
  41. # or "--pinentry-mode loopback" - needed for GPG 2.1+ _and_
  42. # also enable allow-loopback-pinentry in your .gnupg/gpg-agent.conf
  43. GPG_OPTS='--pinentry-mode loopback'
  44.  
  45. # disable preliminary tests with the following setting
  46. #GPG_TEST='disabled'
  47.  
  48. # backend, credentials & location of the backup target (URL-Format)
  49. # generic syntax is
  50. # scheme://[user[:password]@]host[:port]/[/]path
  51. # eg.
  52. # sftp://bob:secret@backupserver.com//home/bob/dupbkp
  53. # for details and available backends see duplicity manpage, section URL Format
  54. # http://duplicity.nongnu.org/duplicity.1.html#sect7
  55. # BE AWARE:
  56. # some backends (cloudfiles, S3 etc.) need additional env vars to be set to
  57. # work properly, read after the TARGET definition for more details.
  58. # ATTENTION:
  59. # characters other than A-Za-z0-9.-_.~ in the URL have to be
  60. # replaced by their url encoded pendants, see
  61. # http://en.wikipedia.org/wiki/Url_encoding
  62. # if you define the credentials as TARGET_USER, TARGET_PASS below duply
  63. # will try to url_encode them for you if the need arises.
  64. TARGET='sftp://sftp.hidrive.strato.com/users/xxx/foo'
  65. # optionally the username/password can be defined as extra variables
  66. # setting them here _and_ in TARGET results in an error
  67. # ATTENTION:
  68. # there are backends that do not support the user/pass auth scheme.
  69. # prominent examples are S3, Azure, Cloudfiles. when in doubt consult the
  70. # duplicity manpage. usually there is a NOTE section explaining if and which
  71. # env vars should be set.
  72. TARGET_USER='xxx'
  73. TARGET_PASS='1234'
  74. # eg. for cloud files backend it might look like this (uncomment for use!)
  75. #export CLOUDFILES_USERNAME='someuser'
  76. #export CLOUDFILES_APIKEY='somekey'
  77. #export CLOUDFILES_AUTHURL ='someurl'
  78. # the following is an incomplete list (<backend>: comma separated env vars list)
  79. # Azure: AZURE_ACCOUNT_NAME, AZURE_ACCOUNT_KEY
  80. # Cloudfiles: CLOUDFILES_USERNAME, CLOUDFILES_APIKEY, CLOUDFILES_AUTHURL
  81. # Google Cloud Storage: GS_ACCESS_KEY_ID, GS_SECRET_ACCESS_KEY
  82. # Pydrive: GOOGLE_DRIVE_ACCOUNT_KEY, GOOGLE_DRIVE_SETTINGS
  83. # S3: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
  84. # Swift: SWIFT_USERNAME, SWIFT_PASSWORD, SWIFT_AUTHURL,
  85. # SWIFT_TENANTNAME OR SWIFT_PREAUTHURL, SWIFT_PREAUTHTOKEN
  86.  
  87. # base directory to backup
  88. SOURCE='/'
  89.  
  90. # a command that runs duplicity e.g.
  91. # shape bandwidth use via trickle
  92. # "trickle -s -u 640 -d 5120" # 5Mb up, 40Mb down"
  93. #DUPL_PRECMD=""
  94.  
  95. # override the used python interpreter, defaults to "python"
  96. # e.g. "python2" or "/usr/bin/python2.7"
  97. #PYTHON="python"
  98.  
  99. # exclude folders containing exclusion file (since duplicity 0.5.14)
  100. # Uncomment the following two lines to enable this setting.
  101. #FILENAME='.duplicity-ignore'
  102. #DUPL_PARAMS="$DUPL_PARAMS --exclude-if-present '$FILENAME'"
  103.  
  104. # Time frame for old backups to keep, Used for the "purge" command.
  105. # see duplicity man page, chapter TIME_FORMATS)
  106. #MAX_AGE=1M
  107.  
  108. # Number of full backups to keep. Used for the "purge-full" command.
  109. # See duplicity man page, action "remove-all-but-n-full".
  110. #MAX_FULL_BACKUPS=1
  111.  
  112. # Number of full backups for which incrementals will be kept for.
  113. # Used for the "purge-incr" command.
  114. # See duplicity man page, action "remove-all-inc-of-but-n-full".
  115. #MAX_FULLS_WITH_INCRS=1
  116.  
  117. # activates duplicity --full-if-older-than option (since duplicity v0.4.4.RC3)
  118. # forces a full backup if last full backup reaches a specified age, for the
  119. # format of MAX_FULLBKP_AGE see duplicity man page, chapter TIME_FORMATS
  120. # Uncomment the following two lines to enable this setting.
  121. #MAX_FULLBKP_AGE=1M
  122. #DUPL_PARAMS="$DUPL_PARAMS --full-if-older-than $MAX_FULLBKP_AGE "
  123.  
  124. # sets duplicity --volsize option (available since v0.4.3.RC7)
  125. # set the size of backup chunks to VOLSIZE MB instead of the default 25MB.
  126. # VOLSIZE must be number of MB's to set the volume size to.
  127. # Uncomment the following two lines to enable this setting.
  128. VOLSIZE=50
  129. DUPL_PARAMS="$DUPL_PARAMS --volsize $VOLSIZE "
  130.  
  131. # verbosity of output (error 0, warning 1-2, notice 3-4, info 5-8, debug 9)
  132. # default is 4, if not set
  133. VERBOSITY=8
  134.  
  135. # temporary file space. at least the size of the biggest file in backup
  136. # for a successful restoration process. (default is '/tmp', if not set)
  137. TEMP_DIR=/home/thomas/.duply/tmp
  138.  
  139. # Modifies archive-dir option (since 0.6.0) Defines a folder that holds
  140. # unencrypted meta data of the backup, enabling new incrementals without the
  141. # need to decrypt backend metadata first. If empty or deleted somehow, the
  142. # private key and it's password are needed.
  143. # NOTE: This is confidential data. Put it somewhere safe. It can grow quite
  144. # big over time so you might want to put it not in the home dir.
  145. # default '~/.cache/duplicity/duply_<profile>/'
  146. # if set '${ARCH_DIR}/<profile>'
  147. #ARCH_DIR=/some/space/safe/.duply-cache
  148.  
  149. # DEPRECATED setting
  150. # sets duplicity --time-separator option (since v0.4.4.RC2) to allow users
  151. # to change the time separator from ':' to another character that will work
  152. # on their system. HINT: For Windows SMB shares, use --time-separator='_'.
  153. # NOTE: '-' is not valid as it conflicts with date separator.
  154. # ATTENTION: only use this with duplicity < 0.5.10, since then default file
  155. # naming is compatible and this option is pending depreciation
  156. #DUPL_PARAMS="$DUPL_PARAMS --time-separator _ "
  157.  
  158. # DEPRECATED setting
  159. # activates duplicity --short-filenames option, when uploading to a file
  160. # system that can't have filenames longer than 30 characters (e.g. Mac OS 8)
  161. # or have problems with ':' as part of the filename (e.g. Microsoft Windows)
  162. # ATTENTION: only use this with duplicity < 0.5.10, later versions default file
  163. # naming is compatible and this option is pending depreciation
  164. #DUPL_PARAMS="$DUPL_PARAMS --short-filenames "
  165.  
  166. # more duplicity command line options can be added in the following way
  167. # don't forget to leave a separating space char at the end
  168. #DUPL_PARAMS="$DUPL_PARAMS --put_your_options_here "
  169.  
  170.  
  171. # Turn on --use-agent option no matter what
  172. #DUPL_PARAMS="$DUPL_PARAMS --use-agent "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement