X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=docs%2Fadministration%2Fbackup.md;h=692aa7368954b24f4e04f0b22037b5d215777dfd;hb=ffcebe7e22b4c5ccaf3ba63f3ed2885ac55a6b4d;hp=685c45128a26e5ec9ba8c73552c0d28b98c890de;hpb=c69b04c49090c5d86af2e9609d0b45d091f09267;p=akkoma diff --git a/docs/administration/backup.md b/docs/administration/backup.md index 685c45128..692aa7368 100644 --- a/docs/administration/backup.md +++ b/docs/administration/backup.md @@ -18,7 +18,9 @@ 6. Run `sudo -Hu postgres pg_restore -d -v -1 ` 7. If you installed a newer Pleroma version, you should run `mix ecto.migrate`[^1]. This task performs database migrations, if there were any. 8. Restart the Pleroma service. - +9. After you've restarted Pleroma, you will notice that postgres will take up more cpu resources than usual. A lot in fact. To fix this you must do a VACUUM ANLAYZE. This can also be done while the instance is still running like so: + $ sudo -u postgres psql pleroma_database_name + pleroma=# VACUUM ANALYZE; [^1]: Prefix with `MIX_ENV=prod` to run it using the production config file. ## Remove