I am using this in cron to backup an omnibus installation:
/opt/gitlab/bin/gitlab-rake gitlab:backup:create CRON=1
Backups almost always work, storing the tar file in /var/opt/gitlab/backups/
Occasionally it fails.
Does the backup process produce log files at all? I’d like to know why it fails. Currently have no evidence at all.
The failure I see is simply there is no tar file created and I see the db and repositories directories in the backup location instead. The db is the correct size but some of the repos exist and some don’t and some are incomplete.
If I leave these directories then the next backup will fail with an overwrite existing file error. So I’ll delete them.
But I need to know why its failing.
Any help really appreciated.