Oracle ZFS Storage Appliance Administration Manual page 444

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

Advertisement

Scheduling Snapshots (CLI)
Note -
minute. To help users avoid placing undue stress on the system, this feature was removed with
the 2010.Q3 release. If the software is rolled back, existing minutes will be preserved. Previous
instances will expire according to the existing schedule, but no new snapshots will be taken. An
alert will be posted if a share or project with this frequency is found.
1.
Go to shares and select the project or share you want to snapshot.
hostname:> shares select myproject
hostname:shares myproject> select demo_share
hostname:shares myproject/demo_share>
Enter
2.
hostname:shares myproject/demo_share> snapshots automatic
hostname:shares myproject/demo_share snapshots automatic>
3.
Use the create command to enter an uncommitted schedule context.
hostname:shares myproject/demo_share snapshots automatic> create
hostname:shares myproject/demo_share snapshots automatic (uncommitted)>
4.
Use the set command to set each field appropriately.
Set the frequency to
a.
snapshot is automatically taken.
Set the day, hour, and minute to specify the precise time the snapshot is
b.
automatically taken.
For half-hourly or hourly snapshots, you can choose how many minutes after the half-hour
or hour the snapshot is taken. For daily snapshots, you can choose the hour and minute the
snapshot is taken, and for weekly or monthly snapshots, you can specify the day, hour, and
minute.
c.
Set the
schedule.
Automatic snapshots can be kept forever (except for half-hourly and hourly snapshots,
which are capped at 48 and 24, respectively), or they can be limited to a certain number.
When the number of snapshots exceeds the number you have specified here, the oldest
snapshots will be deleted first.
hostname:shares myproject/demo_share snapshots automatic (uncommitted)> set
frequency=day
444
Oracle ZFS Storage Appliance Administration Guide, Release OS8.6.x • September 2016
Previous versions of the software allowed for automatic snapshots at the frequency of a
.
snapshots automatic
halfhour
property to the number of snapshots you want to retain for this
keep
,
,
,
, or
hour
day
week
month
to indicate how often the

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ZFS Storage Appliance and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF