Commit graph

12 commits

Author SHA1 Message Date
Phantasm
9eb3fc2d3b
Docs: Avoid long DB restore times and update few things
Mostly to avoid long restore times thanks to an index not being built
before it's needed by restoring the DB schema first.
https://blog.freespeechextremist.com/blog/activities-visibility-index-slowness.html

Also updates backup command to compress DB backups, removes Pleroma
users's home directory, replaces "role" with "user" in PostgreSQL contexts
since they are the same now.
2025-07-21 11:50:05 +02:00
marcin mikołajczak
017e35fbf1 Fix some more typos
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-12-28 00:17:04 +01:00
Mark Felder
6ec1b1615b Further improvements 2020-10-12 12:23:20 -05:00
Mark Felder
ec217ca638 Spelling 2020-10-09 11:18:48 -05:00
Mark Felder
1e5fec8d45 Ask user to use matching values for database setup 2020-10-09 09:14:02 -05:00
Mark Felder
e0c5adcc20 Syntax error 2020-10-08 15:56:37 -05:00
Mark Felder
5f38e03c8a Don't always need to drop 2020-10-08 15:54:28 -05:00
Mark Felder
a02ed3920f Improve backup/restore documentation 2020-10-08 15:51:56 -05:00
lain
c05cbc47f9 Better advice for vacuuming after restoring. 2020-02-22 13:14:30 +00:00
Igeljäger
1ed485ec1d added why doing a vacuum after restoring a backup is so important 2020-02-21 15:30:52 +00:00
Ilja
a9e946b99a DOCS Backup/Restore/Migrate your instance
* Added "Migrate" to the title because these steps can also be used to migrate the instance to another server
* Added an optional step to reinstall pleroma (esp. for migrating servers)
* Currently the steps threw an error 'could not execute query: ERROR: function "activity_visibility already exists with the same argument types'
   * I added a new step to drop and recreate an empty pleroma-database
   * I played around with the `-c` and `-C` options of pg_restore, but dropping and recreating seemd to be the only way I got it working
   * This was tested on Debian Stretch, psql (PostgreSQL) 9.6.15
2020-02-10 23:53:26 +00:00
rinpatch
acc62f327d Rename some directories because MkDocs uses them for categories 2019-10-02 23:28:45 +03:00
Renamed from docs/admin/backup.md (Browse further)