summaryrefslogtreecommitdiff
path: root/doc/raketasks/backup_restore.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-07-01 18:08:50 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-07-01 18:08:50 +0000
commit2ea5aa8bd11544524b4f5da1e4c750f67bf5fc7d (patch)
tree7771ce1234dc66bb59eb5128561d485f91330056 /doc/raketasks/backup_restore.md
parentae1efa2e1d32dee59d8f509ba17b623b5ffe4ba6 (diff)
downloadgitlab-ce-2ea5aa8bd11544524b4f5da1e4c750f67bf5fc7d.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/raketasks/backup_restore.md')
-rw-r--r--doc/raketasks/backup_restore.md15
1 files changed, 5 insertions, 10 deletions
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md
index f8c9c79a822..79622fdcfd7 100644
--- a/doc/raketasks/backup_restore.md
+++ b/doc/raketasks/backup_restore.md
@@ -26,14 +26,6 @@ installed on your system.
sudo yum install rsync
```
-- **Tar**: Backup and restore tasks use `tar` under the hood to create and extract
- archives. Ensure you have version 1.30 or above of `tar` available in your
- system. To check the version, run:
-
- ```shell
- tar --version
- ```
-
## Backup timestamp
NOTE: **Note:**
@@ -679,7 +671,7 @@ You can only restore a backup to **exactly the same version and type (CE/EE)** o
GitLab that you created it on, for example CE 9.1.0.
If your backup is a different version than the current installation, you will
-need to [downgrade your GitLab installation](https://docs.gitlab.com/omnibus/update/README.html#downgrading)
+need to [downgrade your GitLab installation](https://docs.gitlab.com/omnibus/update/README.html#downgrade)
before restoring the backup.
### Restore prerequisites
@@ -936,7 +928,7 @@ Be advised that, backup is successfully restored in spite of these warnings.
The Rake task runs this as the `gitlab` user which does not have the superuser access to the database. When restore is initiated it will also run as `gitlab` user but it will also try to alter the objects it does not have access to.
Those objects have no influence on the database backup/restore but they give this annoying warning.
-For more information see similar questions on PostgreSQL issue tracker[here](https://www.postgresql.org/message-id/201110220712.30886.adrian.klaver@gmail.com) and [here](https://www.postgresql.org/message-id/2039.1177339749@sss.pgh.pa.us) as well as [stack overflow](https://stackoverflow.com/questions/4368789/error-must-be-owner-of-language-plpgsql).
+For more information see similar questions on PostgreSQL issue tracker [here](https://www.postgresql.org/message-id/201110220712.30886.adrian.klaver@gmail.com) and [here](https://www.postgresql.org/message-id/2039.1177339749@sss.pgh.pa.us) as well as [stack overflow](https://stackoverflow.com/questions/4368789/error-must-be-owner-of-language-plpgsql).
### When the secrets file is lost
@@ -963,6 +955,9 @@ experience some unexpected behavior such as:
- Stuck jobs.
- 500 errors.
+You can check whether you have undecryptable values in the database using
+the [Secrets Doctor Rake task](../administration/raketasks/doctor.md).
+
In this case, you are required to reset all the tokens for CI/CD variables
and Runner Authentication, which is described in more detail below. After
resetting the tokens, you should be able to visit your project and the jobs