Skip to content
Snippets Groups Projects
Commit 1e80ec61 authored by nimrod's avatar nimrod
Browse files

server-backup: Update after replacing the drive.

parent 60b64514
No related branches found
No related tags found
No related merge requests found
......@@ -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' ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment