Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

CS-MARS: How do you backup the configuration?

So you do all this work yet is there a simple method of backing up your configuraiton so you could restore the device should it fail. I my case the events could be lost but I would like to at least have all my groups and settings available if need to restore the device.

1 REPLY
New Member

Re: CS-MARS: How do you backup the configuration?

There is a fairly simple way to accomplish this tast. Look further into the documentation specifically reguarding the data archiving. Once data archiving is setup, to restore the pnrestore command is utilized. There are a few options when using the pnrestore command.

Here is the options:

[pnadmin]$ pnrestore ?

Usage: pnrestore options

-h --help Display this usage information.

-m --mode Restoring mode. Enter 1 (default) to restore config only, 2 to restore both config and events, or 5 to restore config from local image.

-t --time Restore the data dated from this time (in 'MM/DD/YY:HH' format).

-p --data_path Name of the directory where the archived data are stored.

example:

pnrestore -m 1 -p nfs_server_ip:/nfs_export/pnarchive -t 06/03/03:0

so in your case, you want to do a pnrestore -m 1 /data location.

It is not as robust as I would like to see, but it functions as designed.

478
Views
9
Helpful
1
Replies
CreatePlease to create content