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 Reformed Router

    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 Network Guru

    nvram export -set > file.txt
  3. Toastman Super Moderator

  4. Azuse Networkin' Nut

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

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

  7. nullifi Reformed Router

    Thanks!

    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