Project

General

Profile

Actions

Feature #3753

open

Add zfs receive property support (zfs recv -o)

Added by Bob Ziuchkovski about 8 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2013-04-28
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

This is a request to add zfs receive property support (zfs recv -o) to Illumos. Solaris 11 added this feature after they killed opensolaris. It allows a user to specify zfs receive -o property=value to override properties when receiving a stream. The received stream is treated as though the overridden property was part of the source stream. The -o flag may be specified multiple times to set/override multiple properties.

This is incredibly useful when using zfs send/recv for periodic backup/replication. It allows a user to change properties such as canmount, mountpoint, or compression without modifying the source dataset.

Using inheritance on a destination dataset can achieve something similar. However, this is a bit fragile and limited in capability. Furthermore, it doesn't work for non-inheritable properties such as canmount.


Related issues

Is duplicate of illumos gate - Feature #2745: Allow filtering of properties on zfs receiveFeedback2012-05-17

Actions
Actions

Also available in: Atom PDF