mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
Add --no-preserve-encryption flag
* Add an option to send datasets with params or replicate without preserving encryption * Add a test case for the new functionality Reviewed-by: Paul Dagnelie <paul.dagnelie@klarasystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Signed-off-by: Chris Jacobs <idefix2020dev@gmail.com> Closes #18240
This commit is contained in:
+13
-4
@@ -31,7 +31,7 @@
|
||||
.\" Copyright 2019 Joyent, Inc.
|
||||
.\" Copyright (c) 2024, Klara, Inc.
|
||||
.\"
|
||||
.Dd August 29, 2025
|
||||
.Dd February 20, 2026
|
||||
.Dt ZFS-SEND 8
|
||||
.Os
|
||||
.
|
||||
@@ -41,13 +41,13 @@
|
||||
.Sh SYNOPSIS
|
||||
.Nm zfs
|
||||
.Cm send
|
||||
.Op Fl DLPVbcehnpsvw
|
||||
.Op Fl DLPUVbcehnpsvw
|
||||
.Op Fl R Op Fl X Ar dataset Ns Oo , Ns Ar dataset Oc Ns …
|
||||
.Op Oo Fl I Ns | Ns Fl i Oc Ar snapshot
|
||||
.Ar snapshot
|
||||
.Nm zfs
|
||||
.Cm send
|
||||
.Op Fl DLPVcensvw
|
||||
.Op Fl DLPUVcensvw
|
||||
.Op Fl i Ar snapshot Ns | Ns Ar bookmark
|
||||
.Ar filesystem Ns | Ns Ar volume Ns | Ns Ar snapshot
|
||||
.Nm zfs
|
||||
@@ -75,7 +75,7 @@
|
||||
.It Xo
|
||||
.Nm zfs
|
||||
.Cm send
|
||||
.Op Fl DLPVbcehnpsvw
|
||||
.Op Fl DLPUVbcehnpsvw
|
||||
.Op Fl R Op Fl X Ar dataset Ns Oo , Ns Ar dataset Oc Ns …
|
||||
.Op Oo Fl I Ns | Ns Fl i Oc Ar snapshot
|
||||
.Ar snapshot
|
||||
@@ -146,6 +146,8 @@ If the
|
||||
.Fl R
|
||||
flag is used to send encrypted datasets, then
|
||||
.Fl w
|
||||
or
|
||||
.Fl U
|
||||
must also be specified.
|
||||
.It Fl V , -proctitle
|
||||
Set the process title to a per-second report of how much data has been sent.
|
||||
@@ -293,6 +295,8 @@ is specified.
|
||||
The receiving system must also support this feature.
|
||||
Sends of encrypted datasets must use
|
||||
.Fl w
|
||||
or
|
||||
.Fl U
|
||||
when using this flag.
|
||||
.It Fl s , -skip-missing
|
||||
Allows sending a replication stream even when there are snapshots missing in the
|
||||
@@ -303,6 +307,11 @@ belongs
|
||||
and its descendants are skipped.
|
||||
This flag can only be used in conjunction with
|
||||
.Fl R .
|
||||
.It Fl U , -no-preserve-encryption
|
||||
Allow sending an encrypted dataset with properties, but without keeping
|
||||
encryption.
|
||||
When this flag is specified, encrypted datasets that would otherwise be blocked
|
||||
from sending are sent as unencrypted data.
|
||||
.It Fl v , -verbose
|
||||
Print verbose information about the stream package generated.
|
||||
This information includes a per-second report of how much data has been sent.
|
||||
|
||||
Reference in New Issue
Block a user