ok kill yourself
This commit is contained in:
parent
430b477f09
commit
fc1d45ce36
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
source /.env
|
source /.env
|
||||||
|
|
||||||
FILENAME="$NAME\ $(date +%Y-%m-%d\\\ %H-%M).tgz"
|
FILENAME="$NAME $(date +%Y-%m-%d\ %H-%M).tgz"
|
||||||
|
|
||||||
# tar volumes
|
# tar volumes
|
||||||
tar -aczf /tmp/$FILENAME -C /volumes .
|
tar -aczf "/tmp/$FILENAME" -C /volumes .
|
||||||
|
|
||||||
# ship to host
|
# ship to host
|
||||||
rsync -R -e "ssh -i /id" /tmp/$FILENAME $NAME@$HOST:/home/$NAME/$(date +%Y\/%m)/
|
rsync -R -e "ssh -i /id" /tmp/$FILENAME $NAME@$HOST:/home/$NAME/$(date +%Y\/%m)/
|
Loading…
Reference in a new issue