0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05:00

docs: add warning about superuser requirement for automated database backups. (#15045)

Add warning about superuser requirement for automated database backups.
This commit is contained in:
Jordan 2025-01-07 11:04:04 -04:00 committed by GitHub
parent 9bc13aca7c
commit ff7a66a2c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,6 +42,10 @@ Typically Immich expects superuser permission in the database, which you can gra
This method is recommended for **advanced users only** and often requires manual intervention when updating Immich. This method is recommended for **advanced users only** and often requires manual intervention when updating Immich.
::: :::
:::danger
Currently, automated backups require superuser permission due to the usage of `pg_dumpall`.
:::
Immich can run without superuser permissions by following the below instructions at the `psql` prompt to prepare the database. Immich can run without superuser permissions by following the below instructions at the `psql` prompt to prepare the database.
```sql title="Set up Postgres for Immich" ```sql title="Set up Postgres for Immich"