question

nagasree963_193876 avatar image
nagasree963_193876 asked Erick Ramirez edited

Can I store snapshots to a GCS bucket?

For Cassandra, after taking snapshots, Can I store it in a GCS bucket.If it possible, How can achieve it?

backupmedusa
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

bettina.swynnerton avatar image
bettina.swynnerton answered nagasree963_193876 commented

Hi @nagasree963_193876,

I am not sure I understand your question correctly, please explain further if the below doesn't answer it.

You can certainly copy Cassandra snapshot folders to other destinations outside of the node where the snapshot was taken. So you should be able to upload the snapshots to GCS buckets, for example with the gsutil utility.

If you want to restore from these snapshots, you may have to move them from GCS to a location where sstableloader can access them for loading:

https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/operations/opsBackupSnapshotRestore.html

Does this answer your question?

1 comment Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

nagasree963_193876 avatar image nagasree963_193876 commented ·

Okay. Thank you. Can you please explain more about how to copy snapshot folders to other destinations llike GCS buckets

0 Likes 0 ·
Erick Ramirez avatar image
Erick Ramirez answered Erick Ramirez edited

In addition to Bettina's answer, I would recommend using The Last Pickle's Medusa backup tool for Apache Cassandra.

Medusa is a command-line tool that features backup and restore of Cassandra clusters and supports storage of snapshots on Google Cloud Storage (GCS). This means that you don't have to manually manage the upload of your backups to GCS.

As a side note, we announced earlier this year that The Last Pickle joined DataStax. So if you have any questions about Medusa, you're in the right place. Cheers!

1 comment Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

nagasree963_193876 avatar image nagasree963_193876 commented ·

Thank you.

[Follow up question posted in #7333]

0 Likes 0 ·