Backup/Restore AWS EKS with EFS as Storage

93 views
Skip to first unread message

Agron Demiraj

unread,
Jul 29, 2024, 1:31:01 AM7/29/24
to projec...@googlegroups.com
Hi All,

My environment:
AWS EKS 1.28
Velero  1.14

I am having trouble backing up resources with storage as EFS. I can see that other resources are being backed up properly on the S3 Bucket, but I am expecting to see a DB pod with high storage being backed up as well.


I tried getting this information from Velero documentation, but unfortunately could not find it.

How is this backup being handled?

I am currently getting an Error "Partially Failed" for the backup, " Failed to get VolumeSnapshot"

It would be very helpful if someone can list down few steps for this backup to work. Is CSI snapshotter needed, what resources need to be created for Velero to be able to backup a DB Pod using EFS mount as storage. 

Swanand

unread,
Jul 29, 2024, 3:45:39 AM7/29/24
to Agron Demiraj, projec...@googlegroups.com
Hi,

      Try following this: 

       Step 1: Ensure you have the most appropriate version of EFS CSI driver deployed on the K8s cluster. Found some related documentation for reference here.
       Step 2: Deploy the snapshot controller along with the associated snapshot CRD's. Found some related documentation for reference here. A Snapshot controller is required.

       Then, try executing the backup using Velero. For ease and a nice GUI, you could try using Cloudcasa as well for data protection on Kubernetes.

Regards,
Swanand

--
You received this message because you are subscribed to the Google Groups "Project Velero" group.
To unsubscribe from this group and stop receiving emails from it, send an email to projectveler...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/projectvelero/CAFKD9hn%2B73K1EmnrJ56oO5WV0%2BsCGmJxzwF9yM8BnB5oDHA-Bw%40mail.gmail.com.

Agron Demiraj

unread,
Aug 14, 2024, 10:35:18 PM8/14/24
to Project Velero
Hi Swanand,

Thank you but as it seems Velero is using the same storage to create restore point on. What I mean by this is that EFS is the current storage and velero is creating a backup in efs as a snapshot, but I need to restore this backup in a different AWS Account in a different region. I thought that by having S3 the data will be stored in S3, but so far only manifests and configuration is being backed up in S3.

Is there a way to migrate from one AWS account to a different account using velero while having pods storage as EFS ?
Reply all
Reply to author
Forward
0 new messages