summaryrefslogtreecommitdiff
path: root/ansible/roles/holywood2/files/borg-all
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/holywood2/files/borg-all')
-rwxr-xr-xansible/roles/holywood2/files/borg-all4
1 files changed, 4 insertions, 0 deletions
diff --git a/ansible/roles/holywood2/files/borg-all b/ansible/roles/holywood2/files/borg-all
index 7132604..a007bb8 100755
--- a/ansible/roles/holywood2/files/borg-all
+++ b/ansible/roles/holywood2/files/borg-all
@@ -6,6 +6,10 @@ echo "Backing up /mnt/soile to nalanda"
./run-borg liw-holywood@nalanda.liw.fi /home/liw-holywood/repo \
create --stats ::"soile-$ts)" /mnt/soile/
+echo "Backing up /mnt/media to nalanda"
+./run-borg liw-holywood@nalanda.liw.fi /home/liw-holywood/repo \
+ create --stats --progress ::"media-$ts)" /mnt/media/
+
echo "Pruning nalanda"
echo ./run-borg liw-holywood@nalanda.liw.fi /home/liw-holywood/repo \
prune --keep-with 100d