diff options
-rwxr-xr-x | backup-dataset.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backup-dataset.sh b/backup-dataset.sh index b87cdcc..8d8102e 100755 --- a/backup-dataset.sh +++ b/backup-dataset.sh | |||
@@ -19,8 +19,9 @@ backup_dataset() ( | |||
19 | 19 | ||
20 | sudo snap.sh snap "$DATASET" | 20 | sudo snap.sh snap "$DATASET" |
21 | 21 | ||
22 | PASSPHRASE="null" duplicity $DUPLICITY_OPTIONS \ | 22 | PASSPHRASE="null" SIGN_PASSPHRASE="null" \ |
23 | --use-agent --sign-key="$SIGNING_KEY" --encrypt-key="$ENCRYPTION_KEY" \ | 23 | duplicity $DUPLICITY_OPTIONS \ |
24 | --sign-key="$SIGNING_KEY" --encrypt-key="$ENCRYPTION_KEY" \ | ||
24 | "$SNAPSHOT_DIRECTORY/$DATASET" "$DESTINATION" | 25 | "$SNAPSHOT_DIRECTORY/$DATASET" "$DESTINATION" |
25 | 26 | ||
26 | sudo snap.sh free "$DATASET" | 27 | sudo snap.sh free "$DATASET" |