Created
March 7, 2025 04:27
-
-
Save christopherarter/a508a4015059e03a090dad8e985cbb41 to your computer and use it in GitHub Desktop.
Immich Backup Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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