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

Keep bandwidth data when rebooting

Discussion in 'Tomato Firmware' started by laxxe, May 15, 2007.

  1. laxxe

    laxxe Network Guru Member

    Is it possible to keep bandwidth data when rebooting? It could be something like make a backup every X minutes - and restore this, when the router starts up.

    Note: I would prefer it to happen automatic.
     
  2. SgtPepperKSU

    SgtPepperKSU Network Guru Member

    Set up a CIFS share in Adminstration->CIFS Client, then tell it to save bandwidth data there (instead of just RAM) in Administration->Bandwidth Monitoring. Then you can even tell how often to save it there. That's it. Just set that up myself a couple days ago; easy to set up and works great!
     
  3. laxxe

    laxxe Network Guru Member

    I don't know anything about CIFS - it looks like it needs some server? I haven't tried it yet, but it seems like, I can keep the data i NVRAM (in the router itself) - isn't that a idea?

    There's also something about JFFS2 - which seems like some file system right in the router?
     
  4. SgtPepperKSU

    SgtPepperKSU Network Guru Member

    Check out this thread on the subject of JFFS2/NVSRAM. In short, not a good idea. That type of memory wears out after a number of writes and you'll be shortening the life of your router.

    CIFS is just the protocol used to access a windows network share. If you have a computer that is on most of the time just share a folder there and use it in the CIFS client setup (ie \\computer-name\share-name).
     
  5. laxxe

    laxxe Network Guru Member

    I don't have any PCs/servers online all the time. If I use CIFS anyway, will it work, also if the machine (that store the backup data) isn't on all the time - will it just do the backup when it's turned on?

    Will data automatically be restored, when the router reboots?
     
  6. SgtPepperKSU

    SgtPepperKSU Network Guru Member

    It should handle the computer being off just fine. It will attempt to back it up, and if the computer is off, it just won't that time. And, of course, if the computer is off when the router reboots, it won't be able to restore from the backup. Not sure if it will recover the data later, though. You _might_ need to reboot the router again to get it. I haven't tried that situation (my computer is on _almost_ all of the time).
     
  7. Talon88

    Talon88 LI Guru Member

    :::

    I've setup & tried today,
    The BW Log Data at (\\computer-name\share-name) will
    be restore after router reboot if you have cifs setup correctly.

    :::
     
  8. SgtPepperKSU

    SgtPepperKSU Network Guru Member

    Yes, but if computer-name is not turned on when the router reboots, will it grab the backups later, or overwrite them with new ones?
     
  9. Talon88

    Talon88 LI Guru Member

    :::

    Maybe you can try before you go sleep
    & turn off the computer & reboot the router,
    Then next morning, see if the router recover
    the old days data!

    :::


     

Share This Page