RRDtool: 32bit to 64bit?

While playing around with creating some statistics from several servers I came to the following problem:

[warning]ERROR: This RRD was created on other architecture[/warning]

The problem was simple, the file was created on a 32 bit machine and I was trying to access it on a 64 bit machine.
The fix for this is quite simple but due to Google being a pain from time to time it took me some time to find the solution.
Therefor I’m posting it for later use 🙂

The steps are easy, first we dump the file into XML and then we convert it back to RRD.

rrdtool dump FILE.rrd > FILE.xml
rrdtool restore -f FILE.xml FILE.rrd

To make sure everything works u can run the following command:

rrdtool info FILE.rrd

Good luck 🙂

Niels Engelen
Working as a pre-sales with an interest for anything virtual and cloud. Certified as a VMware Certified Professional 4, 5 & 6. Niels also gained the VMware vExpert award (2012-2017) and is an ex-PernixPro.