diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-17 03:14:26 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-17 03:14:26 +0000 |
commit | 4bbe39b0a904bb0d8e7bdb455d20cfafcff22f84 (patch) | |
tree | cc99891bdd3f1b13cbd642bf03cdfd9bcd2e53f1 /doc/raketasks | |
parent | ad304c533e75e3d5d721cb98e520000f7ab7589d (diff) | |
download | gitlab-ce-4bbe39b0a904bb0d8e7bdb455d20cfafcff22f84.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/raketasks')
-rw-r--r-- | doc/raketasks/backup_gitlab.md | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/doc/raketasks/backup_gitlab.md b/doc/raketasks/backup_gitlab.md index a418fc4fe8c..0a38416825a 100644 --- a/doc/raketasks/backup_gitlab.md +++ b/doc/raketasks/backup_gitlab.md @@ -931,51 +931,3 @@ For installations from source: 1. [Restart GitLab](../administration/restart_gitlab.md#installations-from-source) for the changes to take effect. - -## Troubleshooting - -The following are solutions to problems you may encounter while uploading backups to remote storage. - -### Large backups may not upload to remote storage - -When trying to upload large uploads to remote storage (AWS or GCS), you may experience an issue where the backup isn't uploaded. - -After creating the backup archive, the `backup_json.log` log does not indicate the upload as done: - -```shell -..."Uploading backup archive to remote storage REDACTED ...done -``` - -For example: - -```json -{"severity":"INFO","time":"2022-08-19T14:11:11.111Z","correlation_id":null,"message":"Creating backup archive: XXXX.15.2.2-ee_gitlab_backup.tar ... done"} -{"severity":"INFO","time":"2022-08-19T14:38:32.134Z","correlation_id":null,"message":"Uploading backup archive to remote storage REDACTED ... "} -``` - -1. Check the rails console log for an error: - - ```shell - rake aborted! - Excon::Error::Socket: Broken pipe (Excon::Error) - /opt/gitlab/embedded/service/gitlab-rails/lib/backup/manager.rb:324:in `upload' - [...] - ``` - -1. Check the storage bucket to confirm that the backup wasn't uploaded. -1. Confirm that you don't have any storage quotas on your buckets preventing the upload. - -To increase the timeout for large backups for Omnibus GitLab packages: - -1. Edit `/etc/gitlab/gitlab.rb`: - - ```ruby - gitlab_rails['backup_upload_connection'] = { - # [...] - 'connection_options' => { - 'write_timeout' => 3600 # Increase the upload timeout from the default 60 to 3600 - } - ``` - -1. [Reconfigure GitLab](../administration/restart_gitlab.md#omnibus-gitlab-reconfigure) -for the changes to take effect. |