increase offsite max backup size to 10GB

This commit is contained in:
2025-09-16 22:47:54 +00:00
parent 944caaa545
commit 79ee2b8e55

View File

@@ -64,7 +64,7 @@ spec:
- name: REPO_SYNC_MAX_SIZE - name: REPO_SYNC_MAX_SIZE
value: "6442450944" # 6GB value: "10737418240" # 10GB
command: ["bash", "-c"] command: ["bash", "-c"]
@@ -92,7 +92,7 @@ spec:
echo "Repository size: $((REPO_SIZE_IN_BYTES / 1024 / 1024))MB" echo "Repository size: $((REPO_SIZE_IN_BYTES / 1024 / 1024))MB"
if [ $REPO_SIZE_IN_BYTES -gt $REPO_SYNC_MAX_SIZE ]; then \ if [ $REPO_SIZE_IN_BYTES -gt $REPO_SYNC_MAX_SIZE ]; then \
echo "ERROR: Repository size exceeds $REPO_SYNC_MAX_SIZE"; echo "ERROR: Repository size $((REPO_SIZE_IN_BYTES / 1024 / 1024))MB exceeds $((REPO_SYNC_MAX_SIZE / 1024 / 1024))MB";
exit 1; exit 1;
else else
# Repository size is within limits for offsite sync # Repository size is within limits for offsite sync