Snapshot Management in Gaia Clish - Scheduled Snapshots

Important:

  • On Scalable Platforms (ElasticXL, Maestro, and Chassis), you must connect to the Gaia Portal of the applicable Security Group.

  • Maestro Security Groups that contain different Security Appliance models do not support Gaia Snapshot operations (in the Global Gaia Portal or Global Gaia Clish).

    To collect or import a Gaia Snapshot in such a Security Group, connect directly to Gaia Portal or Gaia Clish on each Security Appliance in the Security Group.

Before you create a snapshot image, make sure the appliance or storage destination meets the prerequisites.

Description

Manage system images (snapshots).

From R81, you can also configure scheduled system images (snapshots).

Notes:

  • R82 supports only one scheduled snapshot task.

  • It is not possible to change any of the settings in the scheduled snapshot task.

    You must configure the task from scratch.

  • To configure scheduled snapshots in Gaia Portal, see Snapshot Management in Gaia Portal.

Syntax

set snapshot-scheduled activation {enabled | disabled}

set snapshot-scheduled recurrence

      daily time <HH:MM>

      hourly hours {<Hours> | all} at <0-59>

      interval minutes <1-59>

      monthly month {<Months> | all} days <Days> time <HH:MM>

      weekly days {<Days> | all} time <HH:MM>

set snapshot-scheduled retention-policy

      keep-disk-space-above-in-GB <Limit>

      max-snapshots-to-keep <1-9999>

      min-snapshots-to-keep <1-9999>

set snapshot-scheduled settings snapshot-name-prefix <Prefix of Snapshot Name> description <Description of Snapshot>

      target ftp ip <IPv4 Address of FTP Server> path <Path on FTP Server> username <User Name on FTP Server> {password <Password in Plain Text> | password-hash <Password Hash>}

      target lvm

      target scp ip <IPv4 Address of SCP Server> path <Path on SCP Server> username <User Name on SCP Server> {password <Password in Plain Text> | password-hash <Password Hash>}

show snapshot-scheduled <Prefix of Snapshot Name>

Procedure

Important - After you add, configure, or delete features, run the "save config" command to save the settings permanently. Scalable Platforms save the changes automatically.

Troubleshooting

If a scheduled snapshot task fails, there is no notification about it. You must manually check if a snapshot was created.

  • If a snapshot was not created, examine these files:

    /var/log/messages*

  • If a snapshot was created, but there were some issues, examine this file:

    /var/log/CPsnapshot/<Snapshot Name>_<Timestamp>