Skip to content
Snippets Groups Projects
Commit 8ea6b98c authored by Robert Speicher's avatar Robert Speicher
Browse files

Make the file ownership instruction its own step so it's not missed

parent 4a480577
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -99,8 +99,7 @@ Before we start, take a deep breath and don't panic.
```
 
1. Create the `/var/opt/gitlab/postgresql/data/recovery.conf` file with the
following contents. Please be sure that the file is owned by the postgres
user (`gitlab-psql` in production or `postgres` otherwise)
following contents:
 
```
restore_command = '/usr/bin/envdir /etc/wal-e.d/env /opt/wal-e/bin/wal-e wal-fetch "%f" "%p"'
Loading
Loading
@@ -110,6 +109,9 @@ Before we start, take a deep breath and don't panic.
 
Where the `recovery_target_time` is to your liking.
 
1. Be sure that the file is owned by the postgres user (`gitlab-psql` in
production or `postgres` otherwise)
1. Start the PostgreSQL database server: `gitlab-ctl start postgresql`
 
1. When the restore is finished the database server will come online with the data.
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment