Immich: Difference between revisions

m Fixed postgres username
Arcstur (talk | contribs)
Using borg for backups: use "config.services.immich.mediaLocation" instead of hardcoding the path
 
Line 44: Line 44:
Following Immichs [https://immich.app/docs/administration/backup-and-restore/ backup docs] and [https://immich.app/docs/guides/template-backup-script backup script] an automated backup using [[Borg backup]] could look something like this:
Following Immichs [https://immich.app/docs/administration/backup-and-restore/ backup docs] and [https://immich.app/docs/guides/template-backup-script backup script] an automated backup using [[Borg backup]] could look something like this:
{{File|3=services.borgbackup.jobs."Immich" = {
{{File|3=services.borgbackup.jobs."Immich" = {
   paths = "/var/lib/immich";
   paths = config.services.immich.mediaLocation;
   repo = "<path-to-borg-repo>";
   repo = "<path-to-borg-repo>";
   startAt = "Sat 04:00";
   startAt = "Sat 04:00";