From fc280318160dbf32e110d1fd024f5123b416aa19 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Fri, 3 Aug 2018 17:12:43 -0600 Subject: [PATCH] Make backup, last step --- source/resources/apps/borg/README | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/resources/apps/borg/README b/source/resources/apps/borg/README index 79ac75e..c51de43 100644 --- a/source/resources/apps/borg/README +++ b/source/resources/apps/borg/README @@ -8,6 +8,7 @@ for i in `grep ^sf- .clusterssh/clusters | cut -f 1 -d " "` ; do clusterssh $i ; sudo su - mv /home/jebba/borg /root/ cd /root/borg +# Note, get real string with correct host/user/pass: sed -i -e 's/user@host/1234@host.com/g' forksand-borg-* sed -i -e 's/BORG_RELOCATED_REPO_ACCESS_IS_OK=no/BORG_RELOCATED_REPO_ACCESS_IS_OK=yes/g' forksand-borg-* @@ -20,9 +21,6 @@ ssh-keygen -t ed25519 -f /root/.ssh/id_ed25519-borg-`hostname` # Initalize new repo, no passphrase: ./forksand-borg-init -# Make a new backup: -./forksand-borg-create - # Collect keys to backup: ./forksand-borg-tar-keys mv /root/borg-`hostname`-keys.tar.bz2 /home/jebba/ @@ -40,3 +38,6 @@ crontab -e # m h dom mon dow command 0 * * * * /root/borg/forksand-borg-create +# Make a new backup: +./forksand-borg-create +