Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
116ab210
Commit
116ab210
authored
Oct 19, 2021
by
Brad Sevy
Committed by
Amy Qualls
Oct 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed "backup" to "back up"
parent
f7ecb896
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
doc/administration/postgresql/pgbouncer.md
doc/administration/postgresql/pgbouncer.md
+2
-2
doc/administration/postgresql/replication_and_failover.md
doc/administration/postgresql/replication_and_failover.md
+1
-1
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+8
-8
No files found.
doc/administration/postgresql/pgbouncer.md
View file @
116ab210
...
...
@@ -84,7 +84,7 @@ This content has been moved to a [new location](replication_and_failover.md#conf
Do not backup or restore GitLab through a PgBouncer connection: it causes a GitLab outage.
[
Read more about this and how to reconfigure backups
](
../../raketasks/backup_restore.md#backup-and-restore-for-installations-using-pgbouncer
)
.
[
Read more about this and how to reconfigure backups
](
../../raketasks/backup_restore.md#back
-
up-and-restore-for-installations-using-pgbouncer
)
.
## Enable Monitoring
...
...
@@ -172,7 +172,7 @@ ote_pid | tls
Some database changes have to be done directly, and not through PgBouncer.
Read more about the affected tasks:
[
database restores
](
../../raketasks/backup_restore.md#backup-and-restore-for-installations-using-pgbouncer
)
Read more about the affected tasks:
[
database restores
](
../../raketasks/backup_restore.md#back
-
up-and-restore-for-installations-using-pgbouncer
)
and
[
GitLab upgrades
](
../../update/zero_downtime.md#use-postgresql-ha
)
.
1.
To find the primary node, run the following on a database node:
...
...
doc/administration/postgresql/replication_and_failover.md
View file @
116ab210
...
...
@@ -501,7 +501,7 @@ in the Troubleshooting section before proceeding.
Do not backup or restore GitLab through a PgBouncer connection: this causes a GitLab outage.
[
Read more about this and how to reconfigure backups
](
../../raketasks/backup_restore.md#backup-and-restore-for-installations-using-pgbouncer
)
.
[
Read more about this and how to reconfigure backups
](
../../raketasks/backup_restore.md#back
-
up-and-restore-for-installations-using-pgbouncer
)
.
### Ensure GitLab is running
...
...
doc/raketasks/backup_restore.md
View file @
116ab210
...
...
@@ -22,7 +22,7 @@ backups with your object storage provider, if desired.
## Requirements
To be able to backup and restore, ensure that Rsync is installed on your
To be able to back
up and restore, ensure that Rsync is installed on your
system. If you installed GitLab:
-
_Using the Omnibus package_, you're all set.
...
...
@@ -74,7 +74,7 @@ GitLab does not back up any configuration files, SSL certificates, or system
files. You are highly advised to read about
[
storing configuration files
](
#storing-configuration-files
)
.
WARNING:
The backup command requires
[
additional parameters
](
#backup-and-restore-for-installations-using-pgbouncer
)
when
The backup command requires
[
additional parameters
](
#back
-
up-and-restore-for-installations-using-pgbouncer
)
when
your installation is using PgBouncer, for either performance reasons or when using it with a Patroni cluster.
Depending on your version of GitLab, use the following command if you installed
...
...
@@ -168,7 +168,7 @@ as its key defeats the purpose of using encryption in the first place.
WARNING:
The secrets file is essential to preserve your database encryption key.
At the very
**minimum**
, you must backup:
At the very
**minimum**
, you must back
up:
For Omnibus:
...
...
@@ -187,7 +187,7 @@ the GitLab container according to the documentation, it should be in the
For
[
GitLab Helm chart installations
](
https://gitlab.com/gitlab-org/charts/gitlab
)
on a Kubernetes cluster, you must follow the
[
Backup the secrets
](
https://docs.gitlab.com/charts/backup-restore/backup.html#backup-the-secrets
)
[
Back
up the secrets
](
https://docs.gitlab.com/charts/backup-restore/backup.html#backup-the-secrets
)
instructions.
You may also want to back up any TLS keys and certificates, and your
...
...
@@ -787,7 +787,7 @@ For installations from source:
#### Configuring cron to make daily backups
WARNING:
The following cron jobs do not
[
backup your GitLab configuration files
](
#storing-configuration-files
)
The following cron jobs do not
[
back
up your GitLab configuration files
](
#storing-configuration-files
)
or
[
SSH host keys
](
https://superuser.com/questions/532040/copy-ssh-keys-from-one-server-to-another-server/532079#532079
)
.
You can schedule a cron job that backs up your repositories and GitLab metadata.
...
...
@@ -974,7 +974,7 @@ message. Install the [correct GitLab version](https://packages.gitlab.com/gitlab
and then try again.
WARNING:
The restore command requires
[
additional parameters
](
#backup-and-restore-for-installations-using-pgbouncer
)
when
The restore command requires
[
additional parameters
](
#back
-
up-and-restore-for-installations-using-pgbouncer
)
when
your installation is using PgBouncer, for either performance reasons or when using it with a Patroni cluster.
Next, restore
`/etc/gitlab/gitlab-secrets.json`
if necessary,
...
...
@@ -1215,9 +1215,9 @@ There are a few possible downsides to this:
There is an
**experimental**
script that attempts to automate this process in
[
the Geo team Runbooks project
](
https://gitlab.com/gitlab-org/geo-team/runbooks/-/tree/main/experimental-online-backup-through-rsync
)
.
## Backup and restore for installations using PgBouncer
## Back
up and restore for installations using PgBouncer
Do NOT backup or restore GitLab through a PgBouncer connection. These
Do NOT back
up or restore GitLab through a PgBouncer connection. These
tasks must
[
bypass PgBouncer and connect directly to the PostgreSQL primary database node
](
#bypassing-pgbouncer
)
,
or they cause a GitLab outage.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment