This RRD was created on another architecture

Here you can find tutorials and notes for server-side maintenance/configuration

This RRD was created on another architecture

Postby lik » Wed Mar 17, 2010 9:11 pm

When you want to copy/move from one platform to another, you can use
"rrdtool dump" to convert them to a portable XML format, then "rrdtool
restore" to restore them to a binary format appropriate for the
localhost.

See "man rrddump" and "man rrdrestore" for details.

Code: Select all
for i in *.rrd; do rrdtool dump $i > `basename $i .rrd`.xml; done
for i in *.xml; do rrdtool restore $i `basename $i .xml`.rrd;done

or use find if you have RRDs in subdirecties:
Code: Select all
find . -name *.rrd -exec rrdtool dump {} >`basename {} .rrd`.xml \;


You can find current version of rrdtool installed on the cPanel server with the help of the following command:
Code: Select all
/usr/local/cpanel/3rdparty/bin/rrdtool -v
lik
Founder
Founder
 
Posts: 497
Joined: Wed Dec 15, 2010 3:21 am

Return to Server Side Actions

 


  • Related topics
    Replies
    Views
    Last post
cron