plus3it / cfn-gitlab

Use AWS CloudFormation to deploy GitLab onto STIG-hardened EL7 Amazon instances

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Re-visit Backup Method for Possible Optimization

ferricoxide opened this issue · comments

Problem Description:

Currently installed backup logic in /etc/cron.d/GitLab_backups is sub-optimal from a performance perspecctive

Expected Behavior:

Maximize S3 performance to be more equivalent to those outlined in AWS documentation

Actual Behavior:

Backup/restore slower than could be. Mostly not a problem, now, but will become a problem as backed-up dataset grows in size (particularly number of elements backed up)

Fix recommendation:

Change current backup method from an s3 sync of the GitLab content to a tar cf - <GITLAB_CONTENT> | s3 cp - s3://<BUCKET>/<KEY>/<TAR_FILE> method