It is currently Sun Sep 15, 2019 12:47 pm


All times are UTC




Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [SOLVED]How to save config file revisions? NVRAM?
PostPosted: Sun Apr 27, 2014 12:04 am 
Offline

Joined: Wed Apr 02, 2014 5:20 pm
Posts: 80
Location: Lancaster, Pa
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




Last edited by TheEd1tor on Mon Apr 28, 2014 9:49 am, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: How to save config file? NVRAM?
PostPosted: Sun Apr 27, 2014 5:05 pm 
Offline

Joined: Fri Nov 07, 2008 12:04 pm
Posts: 179
Location: Netherlands
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.

_________________
Image Image Image Image ImageImage


Top
 Profile  
 
 Post subject: Re: How to save config file? NVRAM?
PostPosted: Sun Apr 27, 2014 5:27 pm 
Offline

Joined: Wed Apr 02, 2014 5:20 pm
Posts: 80
Location: Lancaster, Pa
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


Top
 Profile  
 
 Post subject: Re: How to save config file revisions? NVRAM?
PostPosted: Sun Apr 27, 2014 9:40 pm 
Offline

Joined: Fri Nov 07, 2008 12:04 pm
Posts: 179
Location: Netherlands
"Save as" should do what you are looking for.

_________________
Image Image Image Image ImageImage


Top
 Profile  
 
 Post subject: Re: How to save config file revisions? NVRAM?
PostPosted: Sun Apr 27, 2014 10:07 pm 
Offline

Joined: Wed Apr 02, 2014 5:20 pm
Posts: 80
Location: Lancaster, Pa
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.


Top
 Profile  
 
 Post subject: Re: How to save config file revisions? NVRAM?
PostPosted: Sun Apr 27, 2014 10:32 pm 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
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.

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: How to save config file revisions? NVRAM?
PostPosted: Mon Apr 28, 2014 9:49 am 
Offline

Joined: Wed Apr 02, 2014 5:20 pm
Posts: 80
Location: Lancaster, Pa
Thanks much Jeremy. I had no idea that snapshots were on the blueprint, thats great!

Bruce


Top
 Profile  
 
 Post subject: Re: How to save config file revisions? NVRAM?
PostPosted: Wed Jul 30, 2014 3:55 pm 
Offline

Joined: Wed May 21, 2014 5:37 am
Posts: 40
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


Last edited by mikolar on Tue Sep 09, 2014 7:37 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: [SOLVED]How to save config file revisions? NVRAM?
PostPosted: Tue Sep 09, 2014 7:36 pm 
Offline

Joined: Wed May 21, 2014 5:37 am
Posts: 40
Any progress, don't see it in beta2?
Regards
Robert


Top
 Profile  
 
 Post subject: Re: [SOLVED]How to save config file revisions? NVRAM?
PostPosted: Tue Sep 09, 2014 9:34 pm 
Offline

Joined: Sun Feb 23, 2014 5:29 pm
Posts: 40
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.




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO