Skip to content

Commit

Permalink
docs: automatic database backups
Browse files Browse the repository at this point in the history
  • Loading branch information
zackpollard committed Oct 30, 2024
1 parent 35db01f commit ed3340b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/docs/administration/backup-and-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,17 @@ The recommended way to backup and restore the Immich database is to use the `pg_
It is not recommended to directly backup the `DB_DATA_LOCATION` folder. Doing so while the database is running can lead to a corrupted backup that cannot be restored.
:::

### Automatic Database Backups

Immich will automatically create database backups by default. The backups are stored in `UPLOAD_LOCATION/backups`.
You can adjust the schedule and amount of kept backups in the [admin settings](http://my.immich.app:2283/admin/system-settings?isOpen=backup).
By default, Immich will keep the last 14 backups and create a new backup every day at 2:00 AM.

#### Restoring

We hope to make restoring simpler in future versions, for now you can find the backups in the `UPLOAD_LOCATION/backups` folder on your host.
Then please follow the steps in the following section for restoring the database.

### Manual Backup and Restore

<Tabs>
Expand Down

0 comments on commit ed3340b

Please sign in to comment.