chore(garage): optimize rclone flags for backup
All checks were successful
Renovate / renovate (push) Successful in 1m53s

This commit is contained in:
Peter 2024-05-08 15:15:59 +02:00
parent 135eb0aec2
commit 91bed3f935
Signed by: prskr
GPG key ID: F56BED6903BC5E37

View file

@ -23,7 +23,15 @@ spec:
do
if [ -z "$bucket" ]; then exit 0; fi
echo "Syncing bucket $bucket";
rclone sync -P --update --no-update-modtime --no-update-dir-modtime --ignore-errors -v "garage:$bucket" "storagebox:garage/$bucket/";
rclone sync -P \
--update \
--checksum \
--no-traverse \
--no-update-modtime \
--no-update-dir-modtime \
--ignore-errors \
-v \
"garage:$bucket" "storagebox:garage/$bucket/";
done
volumeMounts:
- name: rclone-config