snapshot
and revert
commands. These commands can be run in Standard and Expert Modes, and can use a TFTP or SCP server to store snapshots (locally, if necessary).snapshot
andrevert
command syntax can be displayed using "-h" or the "--help" switch.
Example:snapshot -h
[-h] [-d] [[--tftp ServerIP Filename]|
[--scp ServerIP Username Password Filename] |
[--file Filename]]
Where switch:
-d (Shows debug messages)
-h, --help (Shows this help information)
-t, --tftp (Transfers backup package to TFTP server)
-s, --scp (Transfers backup package to SCP server)
-f, --file (Specifies local backup-package filename)- Using the
snapshot
command without any switch displays a list of choices.
Procedure:- In Standard mode, type
snapshot
. - Choose one of the following:
- Select a choice. The following line appears:
- The new snapshot output file can be found at /var/CPsnapshot/snapshots, by typing the
ls
command in Expert Mode:
Example:[Expert@cpmodule]#ls /var/CPsnapshot/snapshots
L Create new local Snapshot Image
T Create new snapshot Image on TFTP server
S Create new snapshot Image on SCP server
R Remove local Snapshot Image
Q QuitCreating the Snapshot Image. This can take up to 10 minutes...
- In Standard mode, type
- Using the
revert
command without any switch displays a list of choices.
Procedure:- Type
revert
to get the following display:
L Revert to local Snapshot Image
T Revert to Snapshot Image from TFTP
S Revert to Snapshot Image from SCP
R Remove local Snapshot Image
Q Quit - Type
L
- Select from the following:
Do you want to save snapshot image before revert?
L Create new local Snapshot Image
T Create new Snapshot Image on TFTP
S Create new Snapshot Image on SCP server
O Override current Snapshot Image (/var/CPsnapshot/snapshots/old-snap.tgz)
R Remove local Snapshot Image
Q Quit
Revert to:
[1] new-snap.tgz
[2] old-snap.tgz
[Q] Quit - Type
Note:
After the revert process has finished, SecurePlatform reboots.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.