test
This commit is contained in:
parent
af4caf7d18
commit
f95ba780ec
@ -37,7 +37,7 @@ tar --zstd -cf /tmp/$BACKUP -C volumes .
|
|||||||
STORAGE_BOX=u442569@u442569.your-storagebox.de
|
STORAGE_BOX=u442569@u442569.your-storagebox.de
|
||||||
TODAY=$(date +%F)
|
TODAY=$(date +%F)
|
||||||
ssh -p23 $STORAGE_BOX "mkdir -p $TODAY"
|
ssh -p23 $STORAGE_BOX "mkdir -p $TODAY"
|
||||||
scp -P 23 /tmp/$BACKUP $STORAGE_BOX:/$TODAY
|
scp -P 23 /tmp/$BACKUP $STORAGE_BOX:/$TODAY/$BACKUP
|
||||||
|
|
||||||
# Clean
|
# Clean
|
||||||
if [ -f "volumes/$DUMP_NAME" ]; then
|
if [ -f "volumes/$DUMP_NAME" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user