# gpg key data (for symmetric encryption comment out GPG_KEY), examples: # GPG_KEY='disabled' - disables encryption alltogether # GPG_KEY='01234567'; GPG_PW='passphrase' - public key encryption # GPG_PW='passphrase' - symmetric encryption using passphrase only GPG_KEY='' GPG_PW='' # gpg options passed from duplicity to gpg process (default='') # e.g. "--trust-model pgp|classic|direct|always" # or "--compress-algo=bzip2 --bzip2-compress-level=9" #GPG_OPTS='' # credentials & server address of the backup target (URL-Format) # syntax is # scheme://[user:address@hidden:port]/[/]path # probably one out of # file:///some_dir # ftp://user[:address@hidden:port]/some_dir # hsi://user[:address@hidden/some_dir # cf+http://container_name # imap://user[:address@hidden/from_address_prefix] # imaps://user[:address@hidden/from_address_prefix] # rsync://user[:address@hidden:port]::/module/some_dir # # rsync over ssh (only keyauth) # rsync://address@hidden:port]/relative_path # rsync://address@hidden:port]//absolute_path # # for the s3 user/password are AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY # s3://[user:address@hidden/bucket_name[/prefix] # s3+http://[user:address@hidden/prefix] # scp://user[:address@hidden:port]/some_dir # ssh://user[:address@hidden:port]/some_dir # tahoe://alias/directory # webdav://user[:address@hidden/some_dir # webdavs://user[:address@hidden/some_dir # ATTENTION: characters other than A-Za-z0-9.-_.~ in user,password,path have # to be replaced by their url encoded pendants, see # http://en.wikipedia.org/wiki/Url_encoding # if you define the credentials as TARGET_USER, TARGET_PASS below # duply will url_encode them for you #TARGET='rs://www.rapidshare.com/bu/rstest/folder/' TARGET='rs://www.rapidshare.com/backup/test123/here' # optionally the username/password can be defined as extra variables # setting them here _and_ in TARGET results in an error TARGET_USER='' TARGET_PASS='' # base directory to backup SOURCE='' # Time frame for old backups to keep, Used for the "purge" command. # see duplicity man page, chapter TIME_FORMATS) # defaults to 1M, if not set MAX_AGE=1h # Number of full backups to keep. Used for the "purge-full" command. # See duplicity man page, action "remove-all-but-n-full". # defaults to 1, if not set MAX_FULL_BACKUPS=1 # verbosity of output (error 0, warning 1-2, notice 3-4, info 5-8, debug 9) # default is 4, if not set VERBOSITY=6 # temporary file space. at least the size of the biggest file in backup # for a successful restoration process. (default is '/tmp', if not set) #TEMP_DIR=/tmp # Modifies archive-dir option (since v0.6.0) Defines a folder that holds # unencrypted meta data of the backup, enabling new incrementals without the # need to decrypt backend metadata first. If empty or deleted somehow, the # private key and it's password are needed. # NOTE: This is confidential data. Put it somewhere safe. It can grow quite # big over time so you might want to put it not in the home dir. # default '~/.cache/duplicity/duply_/' # if set '${ARCH_DIR}/' #ARCH_DIR=/some/space/safe/.duply-cache # sets duplicity --time-separator option (since v0.4.4.RC2) to allow users # to change the time separator from ':' to another character that will work # on their system. HINT: For Windows SMB shares, use --time-separator='_'. # NOTE: '-' is not valid as it conflicts with date separator. # ATTENTION: only use this with duplicity < 0.5.10, since then default file # naming is compatible and this option is pending depreciation DUPL_PARAMS="$DUPL_PARAMS --time-separator _ " # activates duplicity --short-filenames option, when uploading to a file # system that can't have filenames longer than 30 characters (e.g. Mac OS 8) # or have problems with ':' as part of the filename (e.g. Microsoft Windows) # ATTENTION: only use this with duplicity < 0.5.10, later versions default file # naming is compatible and this option is pending depreciation #DUPL_PARAMS="$DUPL_PARAMS --short-filenames " # activates duplicity --full-if-older-than option (since duplicity v0.4.4.RC3) # forces a full backup if last full backup reaches a specified age, for the # format of MAX_FULLBKP_AGE see duplicity man page, chapter TIME_FORMATS # Uncomment the following two lines to enable this setting. #MAX_FULLBKP_AGE=1M #DUPL_PARAMS="$DUPL_PARAMS --full-if-older-than $MAX_FULLBKP_AGE " # sets duplicity --volsize option (available since v0.4.3.RC7) # set the size of backup chunks to VOLSIZE MB instead of the default 25MB. # VOLSIZE must be number of MB's to set the volume size to. # Uncomment the following two lines to enable this setting. VOLSIZE=15 DUPL_PARAMS="$DUPL_PARAMS --volsize $VOLSIZE " # more duplicity command line options can be added in the following way # don't forget to leave a separating space char at the end DUPL_PARAMS="$DUPL_PARAMS"