Skip to content

High performance self-hosted photo and video management solution.

chore: backups custom location and config file docs (#13996)

Zack Pollardec5b7c266b51
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