Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Saving RRD graph data using nanoBSD

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      maddhat
      last edited by

      Hi all,

      Just ordered a 2GB CF card and an IDE to CF adapter and am going to tryout nanoBSD embedded of 1.2.3.. but I had one question:

      I really love having my RRD graphs for historical traffic usage, but I'm guessing they will be cleared if machine reboots.  I was thinking of setting up a cron job for the RRD graph files to be copied to a local fileserver (perhaps once an hour) so when I restart the machine I can restore them.  Would this be possible/plausible?  Is there a better solution out there for accomplishing this? 

      Card ordered: SanDisk SDCFH-002G-A11 2GB/15MB Ultra II CF Card

      1 Reply Last reply
      Reply Quote 0
      • E
        EddieA
        last edited by

        @maddhat:

        I really love having my RRD graphs for historical traffic usage, but I'm guessing they will be cleared if machine reboots.  I was thinking of setting up a cron job for the RRD graph files to be copied to a local fileserver (perhaps once an hour) so when I restart the machine I can restore them.  Would this be possible/plausible?  Is there a better solution out there for accomplishing this?

        The information is saved back to the disk, on a shutdown or reboot, so the only time the data is lost, is when the machine just "powers down".

        You could set up a cron job, to do the save on a regular basis:

        /etc/rc.conf_mount_rw && cd / && /usr/bin/tar -czf /cf/conf/rrd.tgz -C / var/db/rrd/*.rrd && /etc/rc.conf_mount_ro
        

        Cheers.

        1 Reply Last reply
        Reply Quote 0
        • M
          maddhat
          last edited by

          Awesome, thanks for the information!

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy