From 74f4423d7b1b3d4a39e0e8b64a280f665a2bea0b Mon Sep 17 00:00:00 2001 From: asonix Date: Sun, 9 Jul 2023 15:00:49 -0500 Subject: [PATCH] Add note about internal endpoint to backups section in readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index d47dfa6..49e6c1d 100644 --- a/README.md +++ b/README.md @@ -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