docs: Be explicit about how to skip database creation.

This commit is contained in:
Alex Vandiver 2022-03-21 13:06:30 -04:00 committed by Tim Abbott
parent b70b925716
commit 086c0328bd
1 changed files with 2 additions and 6 deletions

View File

@ -185,16 +185,12 @@ data includes:
To restore from a manual backup, the process is basically the reverse of the above: To restore from a manual backup, the process is basically the reverse of the above:
- Install new server as normal by downloading a Zulip release tarball - Install new server as normal by downloading a Zulip release tarball
and then using `scripts/setup/install`. You don't need and then using `scripts/setup/install`. You should pass
to run the `initialize-database` second stage which puts default `--no-init-db` because we don't need to create a new database.
data into the database.
- Unpack to `/etc/zulip` the `settings.py` and `zulip-secrets.conf` files - Unpack to `/etc/zulip` the `settings.py` and `zulip-secrets.conf` files
from your backups. from your backups.
- If you ran `initialize-database` anyway above, you'll want to run
`scripts/setup/postgresql-init-db` to drop the initial database first.
- Restore your database from the backup. - Restore your database from the backup.
- Reconfigure rabbitmq to use the password from `secrets.conf` - Reconfigure rabbitmq to use the password from `secrets.conf`