Go to main content
Oracle® ZFS Storage Appliance Administration Guide, Release OS8.7.0

Exit Print View

Updated: July 2017
 
 

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