Created
November 11, 2020 19:24
-
-
Save dirocco/3d3a4481a822b6a5e3f8e3634d3dd792 to your computer and use it in GitHub Desktop.
This file contains 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 | |
BACKUP_BUCKET=s3backupbucketname | |
pushd /mnt/backup/gphotos | |
/home/ubuntu/.local/bin/gphotos-sync/gphotos-sync . | |
tar cf - . | aws s3 cp --storage-class=DEEP_ARCHIVE - s3://$BACKUP_BUCKET/gphoto.tar | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment