# 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 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 - Backblaze B2 bucket for off-site storage - once the archived file is created, I want to send it transfer it to a backblaze b2 bucket. - Backblaze has a CLI app available for download here . - Download it if it does not exist already and place it in the immich directory. - Their quickstart guide is here