From ec5b7c266b517d1b280b7f9bc77823d6fa2cb678 Mon Sep 17 00:00:00 2001 From: Zack Pollard Date: Thu, 7 Nov 2024 18:08:02 +0000 Subject: [PATCH] chore: backups custom location and config file docs (#13996) --- docs/docs/guides/custom-locations.md | 2 ++ docs/docs/install/config-file.md | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/docs/docs/guides/custom-locations.md b/docs/docs/guides/custom-locations.md index 6afb47f8ac..52cd0ccb25 100644 --- a/docs/docs/guides/custom-locations.md +++ b/docs/docs/guides/custom-locations.md @@ -17,6 +17,7 @@ In our `.env` file, we will define variables that will help us in the future whe + THUMB_LOCATION=/custom/path/immich/thumbs + ENCODED_VIDEO_LOCATION=/custom/path/immich/encoded-video + PROFILE_LOCATION=/custom/path/immich/profile ++ BACKUP_LOCATION=/custom/path/immich/backup ... ``` @@ -30,6 +31,7 @@ services: + - ${THUMB_LOCATION}:/usr/src/app/upload/thumbs + - ${ENCODED_VIDEO_LOCATION}:/usr/src/app/upload/encoded-video + - ${PROFILE_LOCATION}:/usr/src/app/upload/profile ++ - ${BACKUP_LOCATION}:/usr/src/app/upload/backup - /etc/localtime:/etc/localtime:ro ``` diff --git a/docs/docs/install/config-file.md b/docs/docs/install/config-file.md index 24d747e93a..9d86b8dad7 100644 --- a/docs/docs/install/config-file.md +++ b/docs/docs/install/config-file.md @@ -35,6 +35,13 @@ The default configuration looks like this: "accel": "disabled", "accelDecode": false }, + "backup": { + "database": { + "enabled": true, + "cronExpression": "0 02 * * *", + "keepLastAmount": 14 + } + }, "job": { "backgroundTask": { "concurrency": 5