This commit is contained in:
julien 2025-01-19 16:28:01 +01:00
parent f95ba780ec
commit af6944e96d

View File

@ -37,7 +37,7 @@ tar --zstd -cf /tmp/$BACKUP -C volumes .
STORAGE_BOX=u442569@u442569.your-storagebox.de
TODAY=$(date +%F)
ssh -p23 $STORAGE_BOX "mkdir -p $TODAY"
scp -P 23 /tmp/$BACKUP $STORAGE_BOX:/$TODAY/$BACKUP
scp -P 23 /tmp/$BACKUP $STORAGE_BOX:/home/$TODAY
# Clean
if [ -f "volumes/$DUMP_NAME" ]; then