summaryrefslogtreecommitdiff
path: root/lib-src/duply/common.sh
blob: c3f376178aa199d8d1244f41ea05eeb7f93c42da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# To get documentation on these options, run 'duply sample create' and you'll
# find a fully-commented configuration file in ~/.duply/sample/conf.

GPG_IMPORT=disabled
GPG_EXPORT=disabled
GPG_PW="$(<"$HOME/.duply/$PROFILE/gpg_pw")"
[ -n "$GPG_PW" ] || exit

SOURCE=/
FILENAME=.duplicity-ignore
DUPL_PARAMS="$DUPL_PARAMS --exclude-if-present $FILENAME"

MAX_AGE=4M
MAX_FULL_BACKUPS=2
MAX_FULLBKP_AGE=1M
DUPL_PARAMS="$DUPL_PARAMS --full-if-older-than $MAX_FULLBKP_AGE"

DUPL_PARAMS="$DUPL_PARAMS --asynchronous-upload"