Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using cacti, and I accidentally set my clock set ahead. Cacti updated, storing new data in the rra's - and now that I've fixed my clock, I can't get cacti to update again. What do I do?

share|improve this question
up vote 6 down vote accepted

You have to erase these invalid future entries. Use rrddump to export your rra to an XML file, then edit the XML file. Set all the future time to NaN, and set the lastupdate to 0. Restore the RRD files using rrdrestore.

Note, however, that depending on how far ahead your clock was set, you may have lost all your data! For a 5 minute average over a day, a clock set ahead 5 days would have wiped it all out! Same story if you accidently set your clock ahead to 2022 - even a 5 year rra will be completely wiped out. This is why it's important to backup your rra's - clock sync is essential.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.