increase offsite max backup size to 10GB
This commit is contained in:
@@ -64,7 +64,7 @@ spec:
|
||||
|
||||
|
||||
- name: REPO_SYNC_MAX_SIZE
|
||||
value: "6442450944" # 6GB
|
||||
value: "10737418240" # 10GB
|
||||
|
||||
|
||||
command: ["bash", "-c"]
|
||||
@@ -92,7 +92,7 @@ spec:
|
||||
echo "Repository size: $((REPO_SIZE_IN_BYTES / 1024 / 1024))MB"
|
||||
|
||||
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;
|
||||
else
|
||||
# Repository size is within limits for offsite sync
|
||||
|
||||
Reference in New Issue
Block a user