summaryrefslogtreecommitdiff
path: root/.duply
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-12-07 17:45:42 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-12-07 17:52:41 -0700
commit29815e6a8d279f3dd34619993406fac9d7cfdd90 (patch)
treeda63eac7853e3c5930772415fd7812900ea5d06f /.duply
parent7c5502c4105afad57812ac650640f5504eebbc48 (diff)
downloaddotfiles-29815e6a8d279f3dd34619993406fac9d7cfdd90.tar.gz
factor out common duply config, move passphrase file, some tidying
Diffstat (limited to '.duply')
-rw-r--r--.duply/melete-spwhitton-home/conf28
1 files changed, 2 insertions, 26 deletions
diff --git a/.duply/melete-spwhitton-home/conf b/.duply/melete-spwhitton-home/conf
index 0a83423f..e70cf7c0 100644
--- a/.duply/melete-spwhitton-home/conf
+++ b/.duply/melete-spwhitton-home/conf
@@ -1,26 +1,2 @@
-# to get documentation on these options, run "duply sample create" and
-# you'll find a fully-commented configuration file in
-# ~/.duply/sample/conf
-
-# ensure we get an error, rather than an unencrypted backup, if this file not in place yet
-set -e
-. "$HOME/local/auth/duply/melete-spwhitton-home"
-set +e
-
-#GPG_TEST='disabled'
-GPG_IMPORT='disabled'
-GPG_EXPORT='disabled'
-
-TARGET='rsync://19371@ch-s012.rsync.net/duply/melete-spwhitton-home/'
-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 "
-#VERBOSITY=5
-#TEMP_DIR=/tmp
-DUPL_PARAMS="$DUPL_PARAMS --asynchronous-upload "
-#DUPL_PARAMS="--log-file /var/log/duplicity.log "
-DUPL_PARAMS="--rsync-options \"--rsh=\\\"ssh -oBatchMode=yes -oControlMaster=no -oControlPath=none -oIdentitiesOnly=yes -i $HOME/.ssh/id_19371@ch-s012.rsync.net\\\" \" "
+. ~/src/dotfiles/lib-src/duply/common.sh
+. ~/src/dotfiles/lib-src/duply/workstation.sh