Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save christopherarter/a508a4015059e03a090dad8e985cbb41 to your computer and use it in GitHub Desktop.

Select an option

Save christopherarter/a508a4015059e03a090dad8e985cbb41 to your computer and use it in GitHub Desktop.
Immich Backup Script
#!/bin/bash
export AWS_ACCESS_KEY_ID=<your-key-id-here>
export AWS_SECRET_ACCESS_KEY=<your-secret-key-here>
export RESTIC_PASSWORD="<your-encryption-password>"
# Run the backup command
restic -r s3:s3.us-west-004.backblazeb2.com/<your-bucket> --verbose backup /path/to/immich_data/upload
echo "Backup completed."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment