Use the following procedure to clone a replication snapshot within a replication package.
hostname:> shares replication packages hostname:shares replication packages> list Packages: ID STATE DATA_TIMESTAMP SOURCE DATASET package-005 idle 2017-04-28 22:28:08 sor1 data1 package-004 idle 2017-04-28 15:44:38 sor1 data1 package-003 disbl 2017-04-27 23:46:20 sor1 data1 package-002 idle 2017-04-27 23:14:10 sor1 data1 package-001 idle 2017-04-17 17:27:05 sor2 data2
hostname:shares replication packages> select package-005
This action disables replication updates for a package entirely, which cancels any ongoing updates and causes new updates from the source appliance to fail.
hostname:shares replication package-005> set enabled=false
enabled = false (uncommitted)
hostname:shares replication package-005> commit
hostname:shares replication package-005> show
Properties:
id = 7e184188-2738-432b-f304-123412341234de
...
...
...
Projects:
proj1
hostname:shares replication package-005> select proj1
hostname:shares replication package-005 proj1> show
Properties:
aclinherit = restricted
...
...
...
Shares:
Filesystems:
NAME SIZE ENCRYPTED MOUNTPOINT
share1 36K off /export/share1
share2 36K off /export/share2
hostname:shares replication package-005 proj1> select share1
hostname:shares replication package-005 proj1/share1> snapshots
hostname:shares replication package-005 proj1/share1 snapshots> list
Snapshots:
.rr-e1401958-9f7b-47bf-8245-fa116972d26f-cb
.rr-e1401958-9f7b-47bf-8245-fa116972d26f-ec
.rr-e1401958-9f7b-47bf-8245-fa116972d26f-f2
.rr-e1401958-9f7b-47bf-8245-fa116972d26f-f3
.rr-e1401958-9f7b-47bf-8245-fa116972d26f-f4
.rr-e1401958-9f7b-47bf-8245-fa116972d26f-f5
Children:
automatic => Configure automatic snapshots
hostname:shares replication package-005 proj1/share1 snapshots> select .rr-e1401958-9f7b-47bf-8245-fa116972d26f-cb
hostname:shares replication package-005 proj1/share1@.rr-e1401958-9f7b-47bf-8245-fa116972d26f-cb> clone proj_name clone1
hostname:shares proj_name/clone1 (uncommitted clone)> get
Properties:
aclinherit = restricted (inherited)
aclmode = discard (inherited)
atime = true (inherited)
checksum = fletcher4 (inherited)
compression = off (inherited)
copies = 1 (inherited)
logbias = latency (inherited)
mountpoint = /export/clone1 (inherited)
quota = 0 (default)
readonly = false (inherited)
...
...
...
hostname:shares proj_name/clone1 (uncommitted clone)> set mountpoint=/export/clone_mountpoint_name
mountpoint = /export/clone_mountpoint_name (uncommitted)
hostname:shares proj_name/clone1 (uncommitted clone)> commit hostname:shares replication package-005 proj1/share1@.rr-e1401958-9f7b-47bf-8245-fa116972d26f-cb>
hostname:shares replication package-005 proj1/share1@.rr-e1401958-9f7b-47bf-8245-fa116972d26f-cb> cd /
hostname:> shares replication hostname:shares replication> select package-005
hostname:shares replication package-005> set enabled=true
enabled = true (uncommitted)
hostname:shares replication package-005> commit
hostname:shares replication package-005> cd /
hostname:> shares select proj_name
hostname:shares proj_name> show
Properties:
aclinherit = restricted
aclmode = discard
...
...
...
Shares:
Filesystems:
NAME SIZE ENCRYPTED MOUNTPOINT
clone1 1K off /export/clone_mountpoint_name