Volver a la wiki

Configuration snapshots

Configuration snapshots

What it is

A snapshot is a copy of a device’s running configuration, captured over SSH and stored in CreaRack with a SHA-256 hash so config changes are easy to detect. Typical uses: audit what changed and when, keep a known-good config before maintenance, or hold separate configs for events (a convention-center switch with a “static” and an “event” setup).

Each snapshot stores the full config text, a name you choose, the capture date, the vendor, and who created it. Snapshots are listed with a Manual or Auto badge.

The device must have Network Management configured first (see [[crearack—racks—ssh-desde-rack]]). After that one-time setup, snapshots are hands-off: you are never asked for SSH credentials. For devices on private IPs the capture runs through the Local Agent, which fetches the credentials from the server by device ID — they never pass through your browser.

How to create a snapshot

  1. Select the device in the Rack Editor and click SSH Backups in the properties panel.
  2. The Configuration Snapshots modal opens.
  3. Type a snapshot name.
  4. Check the Command field. It is prefilled per vendor — show running-config for Cisco and Arista, show configuration for Juniper. Adjust it only if your device needs a different command.
  5. Click Save Snapshot.

What happens next depends on the device IP:

How to compare two snapshots (diff)

  1. In the snapshot list, tick the checkboxes of exactly two snapshots.
  2. Click Compare (2/2).
  3. A diff viewer opens: added lines in green, removed lines in red.

This is the fastest way to answer “what changed on this switch since last month?”.

How to download or delete a snapshot

Restoring a configuration

One-click restore is not available yet. The Restore Now button exists in the interface, but the server currently rejects the operation with a “not implemented” response — pushing a config back to a live device is on the roadmap.

To roll back today: download the snapshot you want, open an SSH Terminal to the device, and apply the relevant lines manually.

Troubleshooting

“Local Agent not running. Please start CreaRackAgent first.”

“No configuration received from device”

Snapshot button does nothing

A large snapshot never shows up

Véase también

Subir