mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 12:31:00 +00:00
Add note about internal endpoint to backups section in readme
This commit is contained in:
parent
1694f49436
commit
74f4423d7b
1 changed files with 4 additions and 0 deletions
|
@ -536,6 +536,10 @@ files when storing on the local filesystem.
|
|||
The `sled-repo` folder is generally small compared to the `files` folder, and backing it up can be
|
||||
as simple as copying the folder somewhere else. I recommend doing so while pict-rs is not running.
|
||||
|
||||
If you can't stop pict-rs, but would like to back up the database, there is an internal endpoint at
|
||||
`/internal/export` documented in [Api](#api) that can be used to produce a copy of the current
|
||||
database for easy backups.
|
||||
|
||||
### 0.3 to 0.4 Migration Guide
|
||||
pict-rs will automatically migrate from the 0.3 db format to the 0.4 db format on the first launch
|
||||
of 0.4. If you are running the provided docker container without any custom configuration, there are
|
||||
|
|
Loading…
Reference in a new issue