Snapshot Management in Gaia Clish - Regular Snapshots
|
Important:
|
Before you create a snapshot image, make sure the appliance or storage destination meets the prerequisites - see Snapshot Prerequisites.
Description
Manage system images (snapshots).
Syntax
![Closed](transparent.gif)
These commands only create a new snapshot image.
![Closed](transparent.gif)
|
|
Note - Gaia Snapshots are not files, but Logical Volume Management (LVM) volumes. Gaia stores these snapshots as a disk partition. To show the list of virtual drives, run the " |
![Closed](transparent.gif)
|
![Closed](transparent.gif)
|
![Closed](transparent.gif)
|
![Closed](transparent.gif)
These commands only export an existing snapshot image from a local LVM volume.
![Closed](transparent.gif)
|
![Closed](transparent.gif)
|
![Closed](transparent.gif)
|
![Closed](transparent.gif)
These commands only import an existing snapshot image file and store it on Gaia as a local LVM volume.
![Closed](transparent.gif)
|
![Closed](transparent.gif)
|
![Closed](transparent.gif)
|
![Closed](transparent.gif)
These commands import an existing snapshot image, store it on Gaia as a local LVM volume, and then revert to that imported snapshot image.
|
Important:
|
![Closed](transparent.gif)
|
|
Note - Gaia Snapshots are not files, but disk volumes. Gaia stores these snapshots as a disk partition. To show the list of virtual drives, run the " |
![Closed](transparent.gif)
|
![Closed](transparent.gif)
|
![Closed](transparent.gif)
|
![Closed](transparent.gif)
|
show snapshot <Name of Snapshot> all date description size |
![Closed](transparent.gif)
|
|
Important - After you add, configure, or delete features, run the " |
![Closed](transparent.gif)
Parameter |
Description |
---|---|
|
Configures the name of the new snapshot image. You must enter a string that does not contain spaces. |
|
Configures the name, under which the exported snapshot image file is stored. You must enter a string that does not contain spaces. You must not add an extension. |
|
Configures the name, under which the imported snapshot image is stored on this Gaia. You must enter a string that does not contain spaces. |
|
Optional. Configures the description of the snapshot image. You must enclose the text in double quotes, or enter the string that does not contain spaces. |
|
Exports the snapshot image by the specified name. You must enter a string that does not contain spaces. |
|
Imports the snapshot image by the specified name. You must enter a string that does not contain spaces. |
|
When you create or export a snapshot, specifies the destination for the snapshot image. When you import a snapshot, specifies the source of the snapshot image.
|
|
Specifies the IPv4 address of the remote server:
|
|
Specifies the path to the snapshot image file. When you export, this is the path to the directory ( When you import, this is the path to the directory and the snapshot image (
|
|
Specifies the login username on the remote server:
|
|
Specifies the password (in plain text) required to log in to the remote server. |
![Closed](transparent.gif)
-
Creating a new snapshot image locally as a file:
gaia> add snapshot-onetime name 1st_image_after_install description "First image after installation" target local path /var/log/
-
Creating a new snapshot image as a file and uploading it to an SCP server:
gaia> add snapshot-onetime name 1st_image_after_install description "First image after installation" target scp ip 192.168.20.30 path /var/log/ username scp_admin password 123456
-
Importing an existing snapshot image from an SCP server:
gaia> set snapshot-onetime import 1st_image_after_install target scp ip 192.168.20.30 path /var/log/ username scp_admin password 123456
Troubleshooting
-
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>