From 3ee260ee67ee6e17f583c9cc0ac8f7e37c1ae190 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Wed, 4 Apr 2018 20:50:56 +0200 Subject: Made backup script more generic, added specific script for stromboli --- stromboli_backup | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 stromboli_backup (limited to 'stromboli_backup') 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 -- cgit v1.2.3