GNS3
http://forum.gns3.net/

[SOLVED]How to save config file revisions? NVRAM?
http://forum.gns3.net/topic9550.html
Page 1 of 2

Author:  TheEd1tor [ Sun Apr 27, 2014 12:04 am ]
Post subject:  [SOLVED]How to save config file revisions? NVRAM?

I'm working with a handful of larger topologies. I like to create the base config, ip's etc, then save that so I can start from there whenever I want. Since I don't see a config file anymore how do I do this? Do I have to backup the NVRAM file?

Thanks
Bruce

Author:  xsimio [ Sun Apr 27, 2014 5:05 pm ]
Post subject:  Re: How to save config file? NVRAM?

It is automatically done for you, you should not be worried about it.
In the same folder with the .net topology file, there is a folder in which you will find your NVRAM configs.

Author:  TheEd1tor [ Sun Apr 27, 2014 5:27 pm ]
Post subject:  Re: How to save config file? NVRAM?

No I get that. The point is that I want to keep a revision of that. So if im working on a large lab topology once I'm done working through it I want to be able to revert back to the first revision, IE just layer 2 connectivity for example.

In the old version I could just copy my .cfg's after I built the initial topology, then run through all my lab points, and next time copy the original cfg's back and do it again.

So my question is, in lieu of the cfg files can I just do the same thing with the NVRAM files.

Hopefully that clarifies it a bit.
Bruce

Author:  xsimio [ Sun Apr 27, 2014 9:40 pm ]
Post subject:  Re: How to save config file revisions? NVRAM?

"Save as" should do what you are looking for.

Author:  TheEd1tor [ Sun Apr 27, 2014 10:07 pm ]
Post subject:  Re: How to save config file revisions? NVRAM?

Actually no. I appreciate the input but that wasn't really what I was asking. I'm aware of how the save function works.

My question was in regards to the nvram file itself. Maybe I'll just do some testing on my own.

Author:  grossmj [ Sun Apr 27, 2014 10:32 pm ]
Post subject:  Re: How to save config file revisions? NVRAM?

Quote:
In the old version I could just copy my .cfg's after I built the initial topology, then run through all my lab points, and next time copy the original cfg's back and do it again.


You should be able to do this for Dynamips IOSes but keep in mind that .cfg's are stored on the host where the GNS3 server runs.

Quote:
So my question is, in lieu of the cfg files can I just do the same thing with the NVRAM files.


IOU has only nvram files. You should be able to save and restore them as well however I would wait that we implement the concept of snapshots in GNS3, this would be much easier for you.

Finally, we need to review how configs/nvrams are saved because I suspect a bug or 2 are present. Hopefully everything will be clearer/stable in the next alpha release.

Author:  TheEd1tor [ Mon Apr 28, 2014 9:49 am ]
Post subject:  Re: How to save config file revisions? NVRAM?

Thanks much Jeremy. I had no idea that snapshots were on the blueprint, thats great!

Bruce

Author:  mikolar [ Wed Jul 30, 2014 3:55 pm ]
Post subject:  Re: How to save config file revisions? NVRAM?

grossmj wrote:
Quote:
...

IOU has only nvram files. You should be able to save and restore them as well however I would wait that we implement the concept of snapshots in GNS3, this would be much easier for you.

Finally, we need to review how configs/nvrams are saved because I suspect a bug or 2 are present. Hopefully everything will be clearer/stable in the next alpha release.


Any progress, don't see it in beta1?
Regards
Robert

Author:  mikolar [ Tue Sep 09, 2014 7:36 pm ]
Post subject:  Re: [SOLVED]How to save config file revisions? NVRAM?

Any progress, don't see it in beta2?
Regards
Robert

Author:  boen_robot [ Tue Sep 09, 2014 9:34 pm ]
Post subject:  Re: [SOLVED]How to save config file revisions? NVRAM?

Just FYI... In the meantime, you could use a version control system ("Git" for example) over your project folder. This is actually better than the snapshots in 0.8.7, in that you can move not only backwards in time, but forwards too.

In 0.8.7, if you were to restore a snapshot, it would erase newer revisions. I'd hope the newer snapshot implementation doesn't do this, but would simply add a new modification if the restored snapshot is then committed as a new revision.

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/