FFFFUCK
This commit is contained in:
parent
75d3735f1c
commit
1da264a3f2
|
@ -9,7 +9,7 @@ tar -aczf "/tmp/$FILENAME" -C /volumes .
|
|||
|
||||
# ship to host
|
||||
ssh -i id $NAME@$HOST mkdir -p /home/$NAME/$DIRNAME/
|
||||
rsync -r -e "ssh -i /id" "/tmp/$FILENAME" $NAME@$HOST:/home/$NAME/$DIRNAME/$FILENAME
|
||||
rsync -r -e "ssh -i /id" "/tmp/$FILENAME" $NAME@$HOST:/home/$NAME/$DIRNAME/
|
||||
|
||||
# delete backup
|
||||
rm -rf "/tmp/$FILENAME"
|
Loading…
Reference in a new issue