aboutsummaryrefslogtreecommitdiffstats
path: root/stromboli_backup
diff options
context:
space:
mode:
Diffstat (limited to 'stromboli_backup')
-rwxr-xr-xstromboli_backup7
1 files changed, 7 insertions, 0 deletions
diff --git a/stromboli_backup b/stromboli_backup
new file mode 100755
index 0000000..4263065
--- /dev/null
+++ b/stromboli_backup
@@ -0,0 +1,7 @@
+#!/usr/bin/zsh
+# Backup script for stromboli. This synchronises stromboli's local storage with the NFS data from vesuvio. Since this script mounts and umounts the NFS, it should be configured to be mountable without root on fstab.
+
+mount /home/eddy/data
+/home/eddy/bin/backup /home/eddy/data /home/eddy/backup
+sync
+umount /home/eddy/data