Skip to content

ZFS encryption: support for zfs send -w #25

@rsplaul

Description

@rsplaul

Now that ZFS on linux supports encryption (even in outdated versions provided by distros), I think it would be advisable that simplesnap suported the zfs send -w/--raw command line option.

  • It would be possible to do encrypted backups of encrypted datasets on untrusted backuphosts, because the backuphost doesn’t have to know the key.
  • It would be possible to backup datasets for which the key hasn’t been loaded (yet).
  • Even for trusted environments the backuphost doesn’t have to do encryption for the backups itself. (Faster backups on Raspberry Pi and the like!)

This raw send mode should however be configurable because a user might want an unencrypted backup of their encrypted datasets. Also, zfs send -w doesn’t work for incremental backups on previous backups created without this option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions