Files
shell/immich/.prompts/immich-backup.prompt.md

1.2 KiB

Requirements

Immich backup script. This script should be run daily and should backup the following immich objects. Based on recommendations from https://immich.app/docs/administration/backup-and-restore/

  1. Postgres database (using pg_dumpall as recommended by Immich)
  2. User upload directories (photos, videos, and metadata)

Notification

  • Send a notification using the curl command to the https://notify.peterwood.rocks/lab when the backup starts and when it completes.
  • Add the file names and sizes to the message.
  • Ensure that the timestamps aren't appended.
  • Emojis are fun in those kinds of notifications - success, failure, or warning.
  • Follow the same methodology as is present in the plex backup script plex/backup-plex.sh.

Backblaze