What’s the Best Backup Strategy for Ceph-CSI PVCs to External NFS?

0
8
Asked By CuriousCat23 On

Hey everyone! I'm looking for advice on how to back up Persistent Volume Claims (PVCs) that are provisioned by Ceph-CSI, including both CephFS and RBD, to an external NFS source.

Here's the plan I'm working with: I'm using Ceph as external storage via Ceph-CSI, Velero for taking snapshots and backups from the PVCs, and storing those backups on a local NAS through an NFS share, with a secondary NAS getting snapshots from the primary one.

I've heard that Velero doesn't support backing up directly to NFS. Is that right? Most guides suggest using object storage like S3 for backups, which makes sense with Ceph's capabilities, but I want to ensure I have a solid backup in case Ceph fails.

I thought about using MinIO's free edition to provide S3-compatible storage using NAS as storage for MinIO, but I've heard some recent changes in their community version might complicate things.

I'd really appreciate any insights or feedback you might have on this. Thanks for your help!

3 Answers

Answered By StorageWizard88 On

Instead of sticking with MinIO, why not try some other local object storage solutions? Garage works well for me and there are also options like SeaweedFS and RustFS. Velero is a great choice for backups – I've used it with Garage and have had no issues restoring anything. Definitely worth considering!

Answered By BackupGuru99 On

I’ve had a lot of success using Volsync and Kopia for my rook-ceph setup. They really complement each other well! If you're looking into how Velero works, I think it does use Kopia to support NFS, but I'd double-check that. Volsync has been good for me, but it might be worth exploring other options too.

Answered By SimpleBackupDude On

For quick backups, I ended up using RBD export since it was the easiest route back then. I’ve also been looking at Velero and rsync but I'm still figuring out how to automate the process effectively. If you find a reliable way to automate, let me know!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.