> Source: [sk182665](https://support.checkpoint.com/results/sk/sk182665)

# sk182665 - Snapshot schedule fails

| Property | Value |
|----------|-------|
| Solution ID | sk182665 |
| Date Created | 2024-09-09 |
| Last Modified | 2025-04-20 |
| Technical Level | General |
| Products | Security Management Server |
| Versions | R82, R81.20 |

## Solution

Snapshot schedule fails in these scenarios:

* **Scenario 1**

  * You receive this error on the Gaia WebUI when you try to create a scheduled snapshot:  
    `Remote server identity is not known by Gaia.`  
    `This usually means that this is the first time you connect to this server. If you trust this identity, add the server to known hosts using the command 'add ssh hba'. For more details, please refer to sk164234.`

  * As a workaround, run these set commands from CLISH prompt:  
    `> set snapshot-scheduled settings snapshot-name-prefix Test_cli description Test_cli target scp path /home/admin/ ip <IP_address> username admin password <password>`  
    `> set snapshot-scheduled activation enabled`  
    `> set snapshot-scheduled recurrence monthly month 12 days 1 time 10:00`

    Validate the snapshot schedule:  
    `> show snapshot-scheduled`  
    `Scheduled snapshot configuration:`  
    `Name: Test_cli`  
    `Description: Test_cli`  
    `Activation: enabled`  
    `Target: scp`  
    `Username: admin`  
    `Ip: <IP_address>`  
    `UploadPath: /home/admin/`  
    `Each January, February, March, April, May, June, July, August, September, October on day 11 at 19:43`

  <br />

* **Scenario 2**

  * After adding Host Based Authentication (HBA) based on [sk164234](https://support.checkpoint.com/results/sk/sk164234) with the command, for example:  
    \> `add ssh hba ipv4-address <IP_address> public-key access-mode standalone encoded-data <DATA>`  
    You receive this error when you try to schedule a snapshot:  
    `Remote server identity is not known by Gaia.`  
    `This usually means that this is the first time you connect to this server.`  
    `If you trust this identity, add the server to known hosts using the command 'add ssh hba'.`  
    `For more details, please refer to sk164234.`

  * in var/log/messages you see similiar logs:  
    `[DATE TIME] fw cgisu: After parse_and_verify_path(), we have: pname=/web/cgi-bin2/img_mgmt.tcl dname=/web/cgi-bin2`  
    `[DATE TIME] fw xpand[PID]: knownhost_cdk: Filename /home/admin/.ssh/known_hosts`  
    `[DATE TIME] fw xpand[PID]: knownhost_cdk: Total known hosts 9`  
    `[DATE TIME] fw xpand[PID]: knownhost_cdk: Invalid key data, not base64 encoded`

  <br />

* **Scenario 3**

  * The "set snapshot--scheduled" command fails when using the *all* option, for example:  
    `> set snapshot-scheduled recurrence monthly month `**all**` days 11 time 19:43`  
    `Snapshot schedule failed. The snapshot will not be scheduled. NMSNAP0042 Please enter valid month value`

  * The "set snapshot--scheduled" command works when using this syntax:  
    `> set snapshot-scheduled recurrence monthly month 1,2,3,4,5,6,7,8,9,10 days 11 time 19:43`  

### Solution

This problem was fixed. The fix is included in:

* [Jumbo Hotfix Accumulator for R82](https://sc1.checkpoint.com/documents/Jumbo_HFA/R82/Default.htm) starting from Take 14
* [Jumbo Hotfix Accumulator for R81.20](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.20/Default.htm) starting from Take 99

If you choose not to upgrade, Check Point can supply a **Hotfix** . [Contact Check Point Support](https://www.checkpoint.com/support-services/.contact-support/) to get a Hotfix for this issue.  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.  
For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management Server and Security Gateways involved in the case.

**Hotfix installation instructions:**   
Refer to [sk168597 - How to install a Hotfix](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk168597).

<br />

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
