Skip to content
Snippets Groups Projects
Commit 0e099893 authored by root's avatar root
Browse files

Compress incremental backup journal on the backup machine

parent 707f9c22
No related branches found
No related tags found
No related merge requests found
...@@ -66,5 +66,5 @@ fi ...@@ -66,5 +66,5 @@ fi
ssh $TARGET "mkdir -p stamps" ssh $TARGET "mkdir -p stamps"
tar --create --xattrs --acls --listed-incremental=$INCFILE_TMP $SOURCES | \ tar --create --xattrs --acls --listed-incremental=$INCFILE_TMP $SOURCES | \
xz -T$COMPRESS_THRS -3 | ssh $TARGET "cat > $BACKUP_FILE" xz -T$COMPRESS_THRS -3 | ssh $TARGET "cat > $BACKUP_FILE"
scp $INCFILE_TMP $TARGET:$INCFILE_TGT xz -T$COMPRESS_THRS --keep --stdout $INCFILE_TMP | ssh $TARGET "cat > $INCFILE_TGT"
mv $INCFILE_TMP $INCFILE mv $INCFILE_TMP $INCFILE
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment