From 0021e4ffd5a23a0ed38bce751904ea9d5e03b22e Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Tue, 13 Aug 2019 14:41:46 +0100 Subject: locmaint performs our full duplicity backups --- bin/workstation-duplicity | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin/workstation-duplicity') diff --git a/bin/workstation-duplicity b/bin/workstation-duplicity index 0656e0d5..fe092a85 100755 --- a/bin/workstation-duplicity +++ b/bin/workstation-duplicity @@ -34,7 +34,7 @@ if ! [ -t 1 ]; fi # don't try to backup immediately; we might not be online for long - sleep 600 + sleep 300 # confirm we're still online if offline; then @@ -44,8 +44,9 @@ if ! [ -t 1 ]; fi if [ -e "$FLAG_FILE" ]; then - # attempt an incremental backup - duply $DUPLY_PROFILE backup_purge --force + # attempt an incremental backup -- always incremental since we + # might be running from a cronjob on weak coffee shop WiFi + duply $DUPLY_PROFILE incr --force else # interpret lack of flag file to mean this host's OS has been # reinstalled. Do a full backup, as doing an incremental backup -- cgit v1.2.3