pnrestore
Command History
Release
4.1.1
5.2.4
Syntax Description
noneThe default behavior of this command displays the command's usage guidelines.
-mRestoring mode. Three modes are available: 1 (default), 2, or 5. The mode determines what type of
data is restored and from where the data is restored.
option.
-hDisplays the detailed command's usage guidelines.
-tRestores the data dated from this time through the most current archive date. Use mm/dd/yy:hh format.
This option is required when you select mode r 2.
-e(5.2.4 and later) Used in conjunction with -t and -s, this parameter allows you to specify the end time
(endTime) of the data restore range. Used to restore a past range of data.
-s(5.2.4 and later) Used in conjunction with -t and -s, this parameter allows you to specify the path
(stagePath) on the NFS server to which to copy the range of data. This option is used to create a staging
area from which you can restore a past range of data.
-pName of the directory where the archived data is stored. You must identify the NFS server by IP
address, separated by a :/ and then the pathname
Where NFSSeverIP is the value specified in the Remote Host IP field and archive_path is the value
specified in the Remote Path field in the settings found in the web interface at Admin > System
Maintenance > Data Archiving. For more information on these settings, see
Archive Setting for the MARS Appliance, page
-r 1(5.2.4 and later) Used in conjunction with modes 3 and 4 only. Skips restoring the OS binary; instead
only the configuration and dynamic data is restored. Because the version used to write out the archive
for a particular time slice may predate the version most recently stored on the NFS server, these modes
prevent MARS from overwriting the OS installed in the appliance to read the specified time slice's data.
Install and Setup Guide for Cisco Security MARS
A-44
—or—
pnrestore -m 4-r 1 -p
NFSSeverIP:/stagingAreaPath]
—or—
pnrestore -m 5
Modification
Mode 5 appears (-m 5 option).
End time (-e), stage path area (-s), and -r 1 options appear.
Note
Mode 5 restores from a backup in the local database; you cannot use it to restore from
a NFS archive. As such, you not need to have archiving enabled to perform this restore
operation. The configuration data is backed up every night on the appliance. Beware that
if you upgrade to a newer release and attempt a restore before that configuration has
been backed up, the restore will fail.
NFSSeverIP:/archive_path
Table A-2
NFSSeverIP:/archive_path
6-30.
Appendix A
start_time [-e end_time -s
-t
identifies what data is restored for each
.
Configure the Data
Command Reference
OL-14672-01