chore(garage): optimize rclone flags for backup
All checks were successful
Renovate / renovate (push) Successful in 1m53s
All checks were successful
Renovate / renovate (push) Successful in 1m53s
This commit is contained in:
parent
135eb0aec2
commit
91bed3f935
1 changed files with 9 additions and 1 deletions
|
@ -23,7 +23,15 @@ spec:
|
||||||
do
|
do
|
||||||
if [ -z "$bucket" ]; then exit 0; fi
|
if [ -z "$bucket" ]; then exit 0; fi
|
||||||
echo "Syncing bucket $bucket";
|
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
|
done
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: rclone-config
|
- name: rclone-config
|
||||||
|
|
Loading…
Reference in a new issue