summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-10-08 15:56:37 -0500
committerMark Felder <feld@FreeBSD.org>2020-10-08 15:56:37 -0500
commite0c5adcc206818e6d135fb5f827017edd0d4044e (patch)
tree96e0b6a9d1565de212f32163663e6bd0e4df1014 /docs
parent5f38e03c8a487da3e9f7f480a684b0dad6a3c086 (diff)
Syntax error
Diffstat (limited to 'docs')
-rw-r--r--docs/administration/backup.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/administration/backup.md b/docs/administration/backup.md
index 1d9b82fcc..8e5db8c57 100644
--- a/docs/administration/backup.md
+++ b/docs/administration/backup.md
@@ -14,7 +14,7 @@
2. Stop the Pleroma service.
3. Go to the working directory of Pleroma (default is `/opt/pleroma`)
4. Copy the above mentioned files back to their original position.
-5. Drop the existing database if restoring in-place. `sudo -Hu postgres psql -c 'DROP DATABASE <pleroma_db>;`
+5. Drop the existing database if restoring in-place. `sudo -Hu postgres psql -c 'DROP DATABASE <pleroma_db>;'`
6. Restore the database schema and pleroma postgres role the with the original `setup_db.psql` if you have it: `sudo -Hu postgres psql -f config/setup_db.psql`.
Alernatively, run the `mix pleroma.instance gen` task again. You can ignore most of the questions, but make the password the same as found in your backup of `config/prod.secret.exs`. Then run the restoration of the pleroma role and schema with of the generated `config/setup_db.psql` as instructed above. You may delete the `config/generated_config.exs` file as it is not needed.