PDA

Bekijk de volledige versie : Create backUp Image of current config.



ikerstges
02-06-2006, 15:10
Hiall,

I have prepared my WL500G and it works very satisfying. I have documented all my changes, so in worse case scenario, I will always be able to re-configure the system.

BUT....

The amount of changes is HUGE! I will need several days to get everything back to it's current configuration when starting from scratch! I find it hard to accept this situation.

So, can anybody advise on a good backup- and restore procedure for the WL500G? I'm thinking: it would be awesome if I could generate an imagefile of the whole system and save that to a machine in LAN. In case of a serious problem, I could then grab my latest working imagefile and flash it back to the router and have everything up and running in less than a coffee-brake!?

Any suggestions?

mikeo
12-06-2006, 12:22
Very Easy to do.

1. log on to your Asus
2. Go to System Setup
3. Go To Setting Management
4. Then you see: Save As a File en a line : Move your cursor over HERE.Then click the right button of mouse and select "Save As..." to save current setting of WL500g.Deluxe into a file. (Note: While you save current settings to a file, it will be saved to flash as well.)

Now you can save your settings.

Restoring is on the same page: Load From a File

Load the file you saved en your done.

So you can easy test things, upgrade your firmware etc.

Tamadite
13-06-2006, 21:55
Are you sure that by doing this you will backup all sort of packages and configurations the router may have e.g. thttpd, web server configuration and files, dropbear and keys, openVPN, private/public key, etc?

ikerstges
27-06-2006, 12:41
Are you sure that by doing this you will backup all sort of packages and configurations the router may have e.g. thttpd, web server configuration and files, dropbear and keys, openVPN, private/public key, etc?
That is exacly my point too! I have made a lot of changes "under the hood", so I'm afraid those will be lost!? On nslu2-linux.org I have found "CompletelyBackupTheNSLU2 (http://www.nslu2-linux.org/wiki/HowTo/CompletelyBackupTheNSLU2)", maybe that is a good start. But that article is incomplete and I also feel uncomfortable to try it, because the article contains some serious warning messages like:

...."A mistyped or bad command can literally erase or hose up you're entire system. USE AT YOUR OWN RISK"....

Tamadite
17-10-2006, 22:43
I'm doing manual backups of my wl-500g by saving the following files/folders:

/ .version bin/ etc/ lib/ sbin/ usr/ www/ var/

These are the folders Oleg mentions on his web page (http://oleg.wl500g.info/) when booting from external device.

These are what can be considered the core files of the wl-500g. Then it is up to you if you want to add e.g. your web server and web pages folders to your backup.

Most of the programs are under /usr but my thttpd server and vpn server are under /opt/sbin so I have added them as well.

Things like configuration files for stupid-ftpd or keys for dropbear are under /tmp/local.

This is just a brief example to show you that you need to know your system to know what you want to backup.