File system backup for Ceph in Kubernetes

Liejun Tao
2 min readNov 15, 2021

Backup is always important. For Kubernetes cluster, Velero is a good backup tool, but I see some problems with ReadWriteMany volume provided by Rook-Ceph filesystem when it’s mounted by multiple pods. In this article, I introduce my method to backup the whole Rook-Ceph filesystem to work around the issue.

When using Rook-Ceph, the Block Storage provides ReadWriteOnce volumes. Velero works well to back such PVCs. The Shared Filesystem provides ReadWriteMany volumes, which could be mounted by multiple pods at the same time. When using Velero to backup such…

--

--