Backup of S3 objects #917
Closed
karthik-murugan-hpe
started this conversation in
General
Replies: 1 comment 1 reply
-
I think it should be doable via a pre-backup pod or an annotated pod that mounts the PVC you want to sync to. The PVC backups are always triggered after the backupcommands have finished. So you could:
However I'm not quite sure if we currently support mounting PVCs in a pre-backup pod. I'd need to check that. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's assume we have a S3 like component running in our cluster and we want to backup its data using k8up.
We could write a Pre-Backup Pod which syncs the S3 objects to local file system (within the Pre-Backup Pod's container). I'd like to then use K8up to backup these files as a snapshot. I understand, we could just use a "backupcommand" and stdout all the file contents, but for better performance, I want K8up to process these files just like how it processes a folder (PVC). i.e file by file. Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions