Setting A Scheduled Snapshot Label (Cli) - Oracle ZFS Storage Appliance Administration Manual

Hide thumbs Also See for ZFS Storage Appliance:
Table of Contents

Advertisement

Setting a Scheduled Snapshot Label (CLI)

1.
Go to the share or project for which you want to set the scheduled snapshot
label.
To set a label for a filesystem, go to Shares > Shares.
a.
b.
To set a label for a LUN, go to Shares > Shares and click LUNs.
c.
To set a label for a project, go to Shares > Projects.
2.
Hover over the appropriate share or project and click the Edit icon
3.
Click the Snapshots tab.
Under Properties, type the label you want to set into the Scheduled Snapshot
4.
Label field.
5.
Click APPLY to save the change.
This label will be included in the name of each scheduled snapshot taken from now on. The
label will appear before the timestamp, so that the snapshot name is .auto-<snaplabel>-
<timestamp>.
Setting a Scheduled Snapshot Label (CLI)
Use the following procedure to set a label for scheduled snapshots of a filesystem, LUN, or
project.
This optional property appends a user-defined label to each scheduled snapshot and is blank
by default. The label can either be set for an individual share, or it can be set for a project and
inherited by its shares, but not both.
Snapshot labels can help identify the project or share for which a snapshot was taken. For
example, "project1:share1" could indicate a scheduled snapshot taken on share1 within project1.
Labels can be up to 35 alphanumeric characters and can include the special characters _ - . : .
1.
Go to shares and select the filesystem, LUN, or project for which you want to set
the label.
hostname:shares myproject> select demo_share
hostname:shares myproject/demo_share>
2.
Use the set snaplabel command to create a scheduled snapshot label.
hostname:shares myproject/demo_share> set snaplabel=myproject:demo_share
446
Oracle ZFS Storage Appliance Administration Guide, Release OS8.6.x • September 2016
.

Advertisement

Table of Contents
loading

Table of Contents