summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-08-05 13:59:23 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-08-05 13:59:23 +0000
commitc52721aaab275ff25a9aa7e60b76a8ccb04d9ce3 (patch)
tree91a57d4feff4cd1457468c39b321fd0314ef55f6
parentd4d911e9a92ae3507f27661401cd9a55bfc8e4b0 (diff)
parent221f309dd6b3033f608615cdd28958a85c44d427 (diff)
downloadgitlab-ce-c52721aaab275ff25a9aa7e60b76a8ccb04d9ce3.tar.gz
Merge branch '64729-update-troubleshooting-for-gzip-error-in-backup-docs' into 'master'
Resolve "Update troubleshooting for gzip error in backup docs" Closes #64729 See merge request gitlab-org/gitlab-ce!30884
-rw-r--r--doc/raketasks/backup_restore.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md
index 0d86df04367..f8da09e5fe1 100644
--- a/doc/raketasks/backup_restore.md
+++ b/doc/raketasks/backup_restore.md
@@ -960,3 +960,22 @@ want to run the chown against your custom location instead of
[reconfigure GitLab]: ../administration/restart_gitlab.md#omnibus-gitlab-reconfigure
[restart GitLab]: ../administration/restart_gitlab.md#installations-from-source
+
+### Backup fails to complete with Gzip error
+
+While running the backup, you may receive a gzip error:
+
+```sh
+sudo /opt/gitlab/bin/gitlab-rake gitlab:backup:create
+Dumping ...
+...
+gzip: stdout: Input/output error
+
+Backup failed
+```
+
+If this happens, check the following:
+
+1. Confirm there is sufficent diskspace for the gzip operation.
+1. If NFS is being used, check if the mount option `timeo` is set. The default is `600`, and changing this to smaller values have resulted in this error.
+