From af4caf7d18258e53372a6fe0c4e4dc3aaa7aa2ca Mon Sep 17 00:00:00 2001 From: julien Date: Sun, 19 Jan 2025 16:19:34 +0100 Subject: [PATCH] test --- sbin/vol-compress | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sbin/vol-compress b/sbin/vol-compress index 9bfc148..d2e7e3e 100644 --- a/sbin/vol-compress +++ b/sbin/vol-compress @@ -36,7 +36,8 @@ tar --zstd -cf /tmp/$BACKUP -C volumes . # Put it into the storage box (pubkey needed) STORAGE_BOX=u442569@u442569.your-storagebox.de TODAY=$(date +%F) -rsync -r /tmp/$BACKUP $STORAGE_BOX:/$TODAY/$BACKUP +ssh -p23 $STORAGE_BOX "mkdir -p $TODAY" +scp -P 23 /tmp/$BACKUP $STORAGE_BOX:/$TODAY # Clean if [ -f "volumes/$DUMP_NAME" ]; then