Commit 1e80ec61 authored by nimrod's avatar nimrod
Browse files

server-backup: Update after replacing the drive.

parent 60b64514
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ usage() {
if [ "$#" -eq 0 ]
then
    ssh -t host01.shore.co.il -o \
        "RemoteCommand sudo mount /dev/sdb1 /mnt"
        "RemoteCommand sudo mount /dev/sda1 /mnt"
    ssh host01.shore.co.il -o \
        "RemoteCommand sudo -H systemd-run --unit server-backup --collect  sh -c 'offsite-backup /mnt && umount /mnt'"
elif [ "$1" = '-c' ]