aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-06-02 12:42:54 -0300
committerEuAndreh <eu@euandre.org>2019-06-02 12:42:54 -0300
commitc5a4a6f2fe2111fb20b889445847ef57c2eb925f (patch)
treeb6a6bd628fe99a02c907ce8032be9929930c1a40 /scripts
parentBackup newsboat before notmuch (diff)
downloaddotfiles-c5a4a6f2fe2111fb20b889445847ef57c2eb925f.tar.gz
dotfiles-c5a4a6f2fe2111fb20b889445847ef57c2eb925f.tar.xz
Store borg updated files after borg create run
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/backup.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/backup.sh b/scripts/backup.sh
index 5c83eb4..73ef1c8 100755
--- a/scripts/backup.sh
+++ b/scripts/backup.sh
@@ -51,6 +51,14 @@ borg create \
# add folders to be backed up here
green "Done"
+yellow "Committing borg config changes..."
+pushd ~/dev/libre/borg/
+git add .
+git commit -m "JOB: automated update of borg config files after backup.sh"
+git push origin master
+popd
+green "Done."
+
yellow "Syncing ~/archive to ~/UTCLOUD/archive"
rsync --verbose --progress --stats --update --recursive ~/archive/ ~/UTCLOUD/archive/
green "Done"