Google Cloud Storage Bucket Backup

0 votes
I want to back up a bucket within another bucket so that if something fails, I can recover it from others. How can I do this?
Oct 16 in GCP by anonymous
• 6,060 points

edited Oct 16 by anonymous 29 views

1 answer to this question.

0 votes

There are multiple options for you to do this:

  • Create a transfer job using the Storage Transfer Service, provided by GCP. Configure this to automatically backup data from one bucket to another. Transfer is a fairly flexible tool and amongst other things, allows you to define files to transfer based on file prefix, modified times or target specific object URLs.

  • The other way you can do this is to use the gsutil command to copy or sync files from one bucket to another. you could automate this process, add the command as a cronjob on an instance and run it at your chosen times/intervals.

answered Oct 16 by Sirajul
• 39,540 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer
+2 votes
2 answers

How to download multiple files in Google Cloud Storage?

You can achieve this through the gsutil ...READ MORE

answered May 9, 2018 in GCP by kurt_cobain
• 9,260 points
5,032 views
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23 in GCP by Sirajul
• 39,540 points
42 views
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23 in GCP by Sirajul
• 39,540 points
50 views
0 votes
1 answer

Permissions issue with Google Cloud Storage Bucket.

You can regain access to the object by assigning an applicable role, like roles/storage.objectAdmin, to ...READ MORE

answered Oct 10 in GCP by Sirajul
• 39,540 points
58 views