NetApp::Snapshot::Schedule(3pm)

NetApp::Snapshot::Schedule3pm

Usage

    use NetApp::Filer;
    use NetApp::Aggregate;
    use NetApp::Volume;
    use NetApp::Snapshot;
    my $filer = NetApp::Filer->new({ .... });
    my $volume = $filer->get_volume( $volname );
    my $schedule = $volume->get_snapshot_schedule;
    $volume->set_snapshot_schedule(
        weekly          => 0,
        daily           => 2,
        hourly          => 4,
        hourlist        => [ 4, 8, 12, 16 ],
    );

Overview

This class encapsulates a snapshot schedule for an aggregate of volume.

Instance methods

get_parent

This method returns the parent object for the schedule, which is either a NetApp::Aggregate or NetApp::Volume object.

get_weekly, get_daily, get_hourly

These methods return the number of weekly, daily, or hourly snapshots in the schedule.

get_hourlist

This method returns a list of integers, each of which is one of the hours at which to create an hourly snapshot.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7–9
  3. 10–11
  4. 12–13

From libnetapp-perl 500.002-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.