Lightshot Snapshot
Introduction to Gaia Lightshot Snapshot
Each Regular Gaia Snapshot and each Scheduled Gaia Snapshot requires significant disk space (more than 12 gigabytes on a Security Gateway, more than 30 gigabytes on a VSX Gateway). It takes a long time to create these Gaia Snapshots.
Starting in R82, Gaia OS has an additional feature - Lightshot Snapshot. This snapshot type saves only the delta of the disk partition. As a result, it takes less disk space and less time to create each Lightshot Snapshot. The smaller the delta between the current state of the disk partition and the previous Lightshot Snapshot, the less disk space and less time are required.
|
|
Notes:
|
Lightshot Syntax in Gaia Clish / Gaia gClish
On Scalable Platforms, you must run the applicable commands in Gaia gClish of the applicable Security Group.
|
|
|
|
|
|
|
|
|
Parameter |
Description |
||
|---|---|---|---|
|
|
Creates a new lightshot snapshot.
|
||
|
|
Configures the lightshot snapshot settings.
|
||
|
|
Imports the lightshot snapshot from a remote server to this Gaia server. When importing a lightshot from a remote server, the local lightshot partition will be adjusted according to the lightshot being imported. |
||
|
|
Restores an existing local lightshot snapshot on this Gaia server.
|
||
|
|
Shows the lightshot configuration for logs.
|
||
|
|
Shows the information about the Lightshot partition.
|
||
|
|
Shows all existing lightshot snapshots (Name, Description, Date and Time).
|
||
|
|
Deletes an existing lightshot snapshot.
|
||
|
|
Specifies the remote server. This server must be reachable over the SSH protocol.
|
Lightshot Syntax in the Expert mode
On Scalable Platforms, you must run the applicable commands in the Expert mode on the applicable Security Group.
The log file for this command: /var/log/lightshot.log
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Parameter |
Description |
||
|---|---|---|---|
|
|
Shows the built-in help. |
||
|
|
Specifies the IP address of a remote server. This IP address must be reachable over the SSH protocol.
|
||
|
|
Specifies the output format:
|
||
|
|
Deletes the registered request to restore a lightshot snapshot (with the " This command works only if you did not reboot the Gaia server yet. |
||
|
|
Clones the lightshot snapshot from a remote server to this Gaia server.
These parameters are mandatory for this sub-command:
|
||
|
|
Creates a new lightshot snapshot. You can specify a remote server.
|
||
|
|
Deletes an existing local lightshot snapshot.
|
||
|
|
Expert sub-commands:
|
||
|
|
Imports the lightshot snapshot from a remote server to this Gaia server.
These parameters are mandatory for this sub-command:
|
||
|
|
Restores an existing lightshot snapshot on this Gaia server.
|
||
|
|
Configures the lightshot snapshot settings.
|
||
|
|
Shows the lightshot configuration for logs.
|
||
|
|
Compares two specified local lightshot snapshots. |
||
|
|
Shows the information about the Lightshot partition.
|
||
|
|
Shows the specified existing local lightshot snapshots (Name, Description, Date and Time). |
||
|
|
Shows all existing local lightshot snapshots (Name, Description, Date and Time).
|
Target Profiles for Lightshot Snapshots
Overview:
Lightshot supports reusable target profiles for storing snapshots on a remote server that runs on the Linux operating system.
A target profile defines the connection parameters to the snapshot destination.
You can create multiple target profiles and reuse them when creating Lightshot snapshots.
-
Reusable target profiles for remote snapshot storage.
-
Remote targets use SSH connections.
-
These authentication methods are supported:
-
SSH key authentication (when no password is entered).
-
Password supplied directly in the command.
-
Interactive password prompt (the entered password does not appear on the screen).
-
Workflow:
-
Create a target profile.
-
Create a lightshot snapshot using this target profile.
Managing the target profiles:
|
|
Parameters:
|
Parameter |
Description |
||
|---|---|---|---|
|
|
Specifies the name of the target profile.
|
||
|
|
Specifies the description text for the target profile.
|
||
|
|
Specifies the IP address of the remote SSH server. |
||
|
|
Specifies the username to authenticate on the remote server.
|
||
|
|
Specifies the password to authenticate on the remote server.
|
||
|
|
Prompts for password to authenticate on the remote server. The entered password characters do not appear on the screen.
|
||
|
|
Specifies the base folder on a remote server.
|
|
|
Example output:
|
|
|
|
Warning - After you delete a target profile, it is not possible to view lightshot snapshots that were created using this specific target profile. To view those lightshot snapshots again, you must configure a target profile for the same remote server again. |
Using the target profiles:
|
|
|
|
Note - Requirements for a snapshot name:
|
|
|
|
|
Note - A target profile for the remote server must exist. |
Exporting the configuration of existing target profiles
|
|
Notes:
|
|
|
|
|