bartimar
bartimar

Reputation: 3534

How to backup Google Storage buckets?

I need to backup our Google Storage buckets. Versioning is not enough. I was thinking about:

thanks:)

Upvotes: 2

Views: 2651

Answers (2)

SimonH
SimonH

Reputation: 258

As mentioned in a comment, GCS Transfer is what you are looking for, at least for the part: "backup to another GS bucket".

From the doc:

Transfer data to your Cloud Storage buckets from Amazon Simple Storage Service (S3), HTTP/HTTPS servers, or other buckets. You can schedule one-time or daily transfers, and you can filter files based on name prefix and when they were changed.

Upvotes: 3

Mike Schwartz
Mike Schwartz

Reputation: 12145

You could use gsutil rsync to do this:

gsutil -m rsync -rd gs://your-bucket s3://your-bucket

(similarly for syncing between GCS buckets).

You would need to set up a cron job or something similar to cause this to run periodically.

Upvotes: 3

Related Questions