Trying to create redundancy for data stored in GDrive? Use AWS S3 with the
DEEP_ARCHIVE
storage class using these scripts.
rclone
installed- Google Drive with existing data
Setup configurations for both a Google Drive & AWS S3 with DEEP_ARCHIVE storage class via the interactive script.
rclone config
For the examples, I'll set up GDrive under gdrive
& the S3 config under glacier
export AWS_ACCESS_KEY_ID={value-here}
export AWS_SECRET_ACCESS_KEY={value-here}
terraform init
terraform plan -var="usd_budget=1" -var="alert_email=your.email@gmail.com"
terraform apply -var="usd_budget=1" -var="alert_email=your.email@gmail.com"
rclone sync gdrive:my-folder glacier:my-bucket-name
rclone sync gphotos:media/all glacier:my-bucket-name/gphotos