[rrd-users] Re: System Time Changed Corrupting Databases (fwd)
Shipley, Rob
rshipley at state.mt.us
Sat Sep 28 01:05:53 MEST 2002
It may help to check out a script that can do this. You need to "rrdtool
dump" the rrd database you want to restore and the corrupt database that has
historical data. Then do a restore to the temp xml dump file. If it isn't
working for you, let me know. Here is what to look at:
http://www.geocrawler.com/mail/msg.php3?msg_id=7780536&list=1089
Sample Steps:
1. rrdtool dump corrupt.rrd >corrupt.xml
2. rrdtool dump restore.rrd >restore.xml
3. perl <script-name>.pl restore.xml corrupt.xml tmp.xml
4. rrdtool restore tmp.xml restoredvalues.rrd
5. Return to step 1 if you have more data to restore
-----Original Message-----
From: Brian E. Seppanen [mailto:seppy at chartermi.net]
Sent: Friday, September 27, 2002 9:21 AM
To: rrd-users
Subject: [rrd-users] System Time Changed Corrupting Databases (fwd)
Hi Folks:
A couple of days ago, one of the admin's where I work inadvertently
changed the system time and date (in some cases to 2015, 2008, 2003).
Needless to say, I have a whole load of rrd databases that became
corrupted. I restored a mess of them from tape, but a couple for other
users slipped through the cracks is there any way to rescue the data from
them.
Is there a way to splice data from two seperate databases into a good
third one.
I'll be very pleasently surprised if there is, but it all strikes me as a
very complicated undertaking.
Any suggestions would be appreciated.
Thank you.
Brian Seppanen
seppy at chartermi.net
906-228-4226 ext 23
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list