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, 2019 in GCP by anonymous
• 9,500 points

edited Oct 16, 2019 by anonymous 233 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, 2019 by Sirajul
• 50,290 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

Mounting a Google cloud storage bucket to a GKE pod as a persistent disk.

Yes, its possible. There's a similar project,follow ...READ MORE

answered Oct 16, 2019 in GCP by Sirajul
• 50,290 points
1,636 views
+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,310 points
7,599 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, 2019 in GCP by Sirajul
• 50,290 points
183 views
0 votes
1 answer
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, 2019 in GCP by Sirajul
• 50,290 points
189 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, 2019 in GCP by Sirajul
• 50,290 points
455 views
0 votes
1 answer