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

Merging 2 bandwidth backups

Discussion in 'Tomato Firmware' started by FlashSWT, Jul 11, 2010.

  1. FlashSWT

    FlashSWT LI Guru Member

    Hey folks, I've searched with no luck so forgive me if I just missed the answer.

    I have two bandwidth backup files, one running up to July 3 and another running from July 4 to present. Is there anyway to merge these two files and restore them back into Tomato?

    The files I'm referrring to are named:
    tomato_rstats_00121745bb61.gz

    Opening the file contained within contains a file that when opened with a text editor reveals a bunch of gibberish.

    I know I can restore easily restore one or the other but I'd like to have both sets of stats going forward.

    Thanks.
     
  2. dkirk

    dkirk Network Guru Member

    A .gz file is a compressed file, so it will look like gibberish if you do not first uncompress it. If you are using a Windows based machine try http://www.izarc.org/ to uncompress the file and see what you see then. If text based file(s) then you should be able to merge them using any ASCII editor such as NotePad or my favorite http://www.textpad.com/
     
  3. FlashSWT

    FlashSWT LI Guru Member

    Sorry, I should have been more specific. I have uncompressed it and it contains a file by the same name with no extension. Opening this file is the one that is still gibberish.

    .
     
  4. dkirk

    dkirk Network Guru Member

    Interesting. That decompressed file in hex format starts with "RS01" and a quick Google search doesn't find anything that explains it. The backup file from my router is only 3k and in hex mode most of it is zeros, so I'm not sure what this file is supposed to contain anyway in only 3k mostly zeros. I'm afraid you'll either have to find a web site somewhere that describes this RS01 file format or take the Tomato source code and read up on what that backup utility actually writes out.
     
  5. FlashSWT

    FlashSWT LI Guru Member

    Thanks for the help dkirk. Further searching here reveals that a few other people have asked this question over the years with no responses.
     

Share This Page