diff options
author | Eduardo Pedroni <e.pedroni91@gmail.com> | 2018-04-04 20:50:56 +0200 |
---|---|---|
committer | Eduardo Pedroni <e.pedroni91@gmail.com> | 2018-04-04 20:50:56 +0200 |
commit | 3ee260ee67ee6e17f583c9cc0ac8f7e37c1ae190 (patch) | |
tree | 910a7e171c7d67035d73a8cfaed0660be55041bf /stromboli_backup | |
parent | ecf8bb4b0cbef589c16ee35693ddda8fb84b23f6 (diff) |
Made backup script more generic, added specific script for stromboli
Diffstat (limited to 'stromboli_backup')
-rwxr-xr-x | stromboli_backup | 7 |
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 |