Manually backup config

Discussion in 'Tomato Firmware' started by nullifi, Aug 16, 2012.

  1. nullifi

    nullifi Serious Server Member

    I'm trying to find a way to manually backup the config. I'd rather not use the web interface for this. My goal is to back it up and FTP it off to another system.

    I've discovered that the backup you get from the website is just a dump of the NVRAM gzipped up. I did notice that there is the following at the start of the unzipped file: TCF1[form feed][ 3 null's]

    Is that starting character something dynamic, or can I just dump the NVRAM, append "TCF1[FF][NUL][NUL][NUL]" and gzip it? Would that work as a backup file for restoration purposes?
  2. Cyberian75

    Cyberian75 Network Guru Member

    nvram export -set > file.txt
  3. Toastman

    Toastman Super Moderator Staff Member Member

  4. Azuse

    Azuse LI Guru Member

    Didn't someone write a script to automatically back this stuff up to an ftp server a couple years back?
  5. Toastman

    Toastman Super Moderator Staff Member Member

    Sledgehammer to crack a walnut ....
  6. Dark_Shadow

    Dark_Shadow LI Guru Member

  7. nullifi

    nullifi Serious Server Member


    Yeah, I saw that script, but it is way too much for what I need. Plus, I didn't like how it basically visits the admin URL to download the config.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice