Snapshot Management in Gaia Clish - Scheduled Snapshots

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:

  • R81 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.

  • In Gaia PortalClosed Web interface for the Check Point Gaia operating system., you can only:

    • Enable or disable the snapshot schedule

    • View the scheduled snapshot configuration

Syntax

set snapshot-scheduled activation {enabled | disabled}

set snapshot-scheduled recurrence

      daily time <HH:MM>

      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.

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>