diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2019-08-13 14:41:46 +0100 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-08-13 14:42:24 +0100 |
commit | 0021e4ffd5a23a0ed38bce751904ea9d5e03b22e (patch) | |
tree | f1b0636bbae302680928aeb0f18d5278cb7f4679 /bin/workstation-duplicity | |
parent | 259cd091ea424fe53bbee8c0253bc1e6a824db20 (diff) | |
download | dotfiles-0021e4ffd5a23a0ed38bce751904ea9d5e03b22e.tar.gz |
locmaint performs our full duplicity backups
Diffstat (limited to 'bin/workstation-duplicity')
-rwxr-xr-x | bin/workstation-duplicity | 7 |
1 files changed, 4 insertions, 3 deletions
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 |