commit 1b5f252b7bf53c9fe813f2d7205f5106cc4f336f parent 9b30d22f2493c4b02612b6b4859fdc126af2728c Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 20 Jan 2019 22:38:46 +0100 Add script to backup to b2 via duplicity Diffstat:
A | links/bin/backup-b2.sh | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/links/bin/backup-b2.sh b/links/bin/backup-b2.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +account="$(pass Online/backblaze.com-anders@adamsgaard.dk-account-id)" +pass="$(pass Online/backblaze.com-anders@adamsgaard.dk-master-application-key)" + +duplicity --progress --use-agent $HOME b2://$account:$pass@idkfa-home +duplicity --progress --use-agent /usr b2://$account:$pass@idkfa-usr +duplicity --progress --use-agent /etc b2://$account:$pass@idkfa-etc