aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-08-14 19:56:10 +0200
committerSébastien Dailly <sebastien@dailly.me>2022-08-14 19:56:10 +0200
commit842db292e651fc362a9e54435023e6c61d7f2da6 (patch)
tree3d7d702b15b0b8f5583720e4318a91c02a67235e
parent47f0648e6e1a6ea034fccf7744b8dd837df4d87e (diff)
Update duplicity configuration
-rw-r--r--duply/.duply/seb_admin/conf2
-rw-r--r--duply/.duply/seb_ebooks/conf1
-rw-r--r--duply/.duply/seb_jdr/conf1
-rw-r--r--duply/.duply/seb_music/conf17
-rw-r--r--duply/scripts/duplicity/duply_common.sh4
5 files changed, 6 insertions, 19 deletions
diff --git a/duply/.duply/seb_admin/conf b/duply/.duply/seb_admin/conf
index 18623e8..62ba751 100644
--- a/duply/.duply/seb_admin/conf
+++ b/duply/.duply/seb_admin/conf
@@ -1,5 +1,5 @@
# base directory to backup
-SOURCE='/home/sebastien/adminstratifs/'
+SOURCE='/home/sebastien/administratifs/'
# Storage directory
export STORAGE_NAME="seb_administratif"
diff --git a/duply/.duply/seb_ebooks/conf b/duply/.duply/seb_ebooks/conf
index 928552d..cdc5bb5 100644
--- a/duply/.duply/seb_ebooks/conf
+++ b/duply/.duply/seb_ebooks/conf
@@ -1,5 +1,6 @@
# base directory to backup
SOURCE='/home/sebastien/Bibliothèque calibre/'
+TIME_BEFORE_FULL=1Y
# Storage directory
export STORAGE_NAME="seb_ebooks"
diff --git a/duply/.duply/seb_jdr/conf b/duply/.duply/seb_jdr/conf
index 0d567ac..952dae5 100644
--- a/duply/.duply/seb_jdr/conf
+++ b/duply/.duply/seb_jdr/conf
@@ -1,5 +1,6 @@
# base directory to backup
SOURCE='/home/sebastien/Documents/jdr'
+TIME_BEFORE_FULL=1Y
# Storage directory
export STORAGE_NAME="seb_jdr"
diff --git a/duply/.duply/seb_music/conf b/duply/.duply/seb_music/conf
index 37cbdcd..2071049 100644
--- a/duply/.duply/seb_music/conf
+++ b/duply/.duply/seb_music/conf
@@ -1,5 +1,6 @@
# base directory to backup
SOURCE='/home/sebastien/Musique'
+TIME_BEFORE_FULL=1Y
# Storage directory
export STORAGE_NAME="seb_music"
@@ -8,21 +9,5 @@ export HOT_OS_REGION_NAME=GRA
GPG_KEYS_ENC='2421BCBD56473645,933FFFBA5E8867338DF2FF645E23E7695299F9AB'
GPG_KEY_SIGN='F6859BC3CC712DF8'
-# set if signing key passphrase differs from encryption (key) passphrase
-# NOTE: available since duplicity 0.6.14, translates to SIGN_PASSPHRASE
-#GPG_PW_SIGN='<signpass>'
-
-# uncomment and set a file path or name force duply to use this gpg executable
-# available in duplicity 0.7.04 and above (currently unreleased 06/2015)
-#GPG='/usr/local/gpg-2.1/bin/gpg'
-
-# 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"
-# or "--personal-cipher-preferences AES256,AES192,AES..."
-# or "--homedir ~/.duply" - keep keyring and gpg settings duply specific
-# or "--pinentry-mode loopback" - needed for GPG 2.1+ _and_
-# also enable allow-loopback-pinentry in your .gnupg/gpg-agent.conf
-#GPG_OPTS=''
. ~/scripts/duplicity/duply_common.sh
diff --git a/duply/scripts/duplicity/duply_common.sh b/duply/scripts/duplicity/duply_common.sh
index 9e2ef66..41ae389 100644
--- a/duply/scripts/duplicity/duply_common.sh
+++ b/duply/scripts/duplicity/duply_common.sh
@@ -4,12 +4,12 @@ cleanup() {
}
trap cleanup INT TERM EXIT
-function gpg_export_if_needed {
+gpg_export_if_needed() {
echo "Prevent GPG keys for beeing exported"
}
# Always mark the secret key as available (do not try to import it)
-function gpg_sec_avail {
+gpg_sec_avail() {
true
}