1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Addicted to LI 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 Addicted to LI 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.

Share This Page