fix: hard delete old versions on copy

This commit is contained in:
Jet 2026-03-18 16:08:53 -07:00
parent 7b810edab7
commit 1e2a2dd0d9
No known key found for this signature in database

View file

@ -52,10 +52,12 @@ in
--no-check-dest --no-check-dest
# Purge old file versions to stay under storage cap # Purge old file versions to stay under storage cap
sleep 2
${pkgs.rclone}/bin/rclone cleanup \ ${pkgs.rclone}/bin/rclone cleanup \
":b2:${b2Bucket}" \ ":b2:${b2Bucket}" \
--b2-account "$B2_ACCOUNT" \ --b2-account "$B2_ACCOUNT" \
--b2-key "$B2_KEY" \ --b2-key "$B2_KEY" \
--b2-hard-delete \
--config /dev/null --config /dev/null
# Clean up local temp file # Clean up local temp file