Skip to content

Creating encrypted backups from encrypted ZFS pools #3572

Closed Answered by LukasKnuth
LukasKnuth asked this question in Q&A
Discussion options

You must be logged in to vote

I have done some more digging on how this works internally and have come to understand the following:

  1. When the Velero plugin creates a backup, it will initialize a ZFS plugin https://github.dev/openebs/velero-plugin/blob/cea57783e3ed887d2b7b0e7bafc436ff26bd9a7b/pkg/zfs/plugin/zfs.go#L82
  2. This instance holds config for the current backup process, which includes a "remote destination address", the first IPv4 loopback address on the system: https://github.dev/openebs/velero-plugin/blob/cea57783e3ed887d2b7b0e7bafc436ff26bd9a7b/pkg/zfs/utils/utils.go#L35
  3. This leads to creating a ZFSBackup resource in Kubernetes https://github.dev/openebs/velero-plugin/blob/cea57783e3ed887d2b7b0e7bafc436ff26bd9…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by avishnu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants