like Stefan said.

you can use the scp command: man scp to find out how to use it.
I would just copy the configuration files. using scp like:

scp -pr [email protected]:/etc/* /home/username/wrt54g/etc

then you have a backup copy of your configuration files if they are stored
in /etc.

I'm not sure about copying the whole JFFS filesystem.

if you checkout the trunk source files you can build the packages you choose
through the menuconfig command,
then you can modify the source packages to include your configuration files
directly.

Hope this helps.
Dominique

On Mon, Mar 23, 2009 at 1:06 PM, Weedy <[email protected]> wrote:

> Stefan Palme wrote:
> > On Mon, 2009-03-23 at 10:48 -0600, Dominique Legault wrote:
> >> When you flash the system back to the original firmware all changes
> >> that you have made to the current running version of the OpenWrt
> >> installation will be lost. I would recommend backing up all
> >> configuration files.
> >
> > Ok.
> > What is the best method to backup all my locally modified stuff?
> > Somewhere I've read about just backup up /dev/mtdblock/4 which should
> > contain a complete JFFS filesystem with all modifications I have made
> > in comparison to the r/o flash image. Is this the right way?
> >
> > thanks and regards
> > -stefan-
> >
> >
> > _______________________________________________
> > openwrt-users mailing list
> > [email protected]
> > http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
>
> Check out the source, and scp -pr r...@router:/jffs/ sources/files/.
> then clean up the files dir and select all your packages to be compiled
> into the image in menuconfig. files/ should only contain etc/ (ie config
> files) and modifications to default files (ie: i made a edit to
> /lib/network/ppp.sh so i have that)
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
>
_______________________________________________
openwrt-users mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to