fix: hard delete old versions on copy
This commit is contained in:
parent
7b810edab7
commit
1e2a2dd0d9
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue