From 04d56ca7a5bbd4a2dbbb467dbfcb7db3766c63b4 Mon Sep 17 00:00:00 2001 From: Lol3rrr Date: Sat, 3 Oct 2026 00:23:14 +0200 Subject: [PATCH] Fix zstd command --- ceph-rbd-backup/script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph-rbd-backup/script.sh b/ceph-rbd-backup/script.sh index ccd6533..db4a8e2 100644 --- a/ceph-rbd-backup/script.sh +++ b/ceph-rbd-backup/script.sh @@ -12,7 +12,7 @@ OUTPUT_FILE="${OUTPUT_FILE:-}" rbd --name ${CEPH_USERNAME} snap create ${RBD_POOL}/${RBD_IMAGE_ID}@${SNAPSHOT_ID}; # Export the snapshot to a file -rbd --name ${CEPH_USERNAME} export --export-format 2 ${RBD_POOL}/${RBD_IMAGE_ID}@${SNAPSHOT_ID} - | zstd -T1 -3 ${OUTPUT_FILE}; +rbd --name ${CEPH_USERNAME} export --export-format 2 ${RBD_POOL}/${RBD_IMAGE_ID}@${SNAPSHOT_ID} - | zstd -T1 -3 -o ${OUTPUT_FILE}; touch ${OUTPUT_FILE}.done; ls -al ${OUTPUT_FILE};