Pavnay

 
  • Increase font size
  • Default font size
  • Decrease font size
FrançaisEnglish

[System] Migrate rrd files from an architecture to an other

Print
System

Sometimes, we have to upload rrd files from a server to an other. If these servers have the same architecture, no soucy, files are readable. But if architectures are different, they don't.


It's possible to restore them doing this :
  • on the original server, doing a dump converting the rrd files to XML :
for myfile in *; 
do 
   rrdtool dump $myfile > ${myfile%%.rrd}.xml; 
done


  • upload the new XML files to the new server,
  • convert the XML files to rrd files for the right architecture :
for myfile in *.xml; 
do 
   rrdtool restore -f $myfile ${myfile%%.xml}.rrd; 
done


Comments
Add New
+/-
Write comment
Name:
Email:
 
Title:
 
:D:):(:0:shock::confused:8):lol::x:P:oops::cry:
:evil::twisted::roll::wink::!::?::idea::arrow:
 

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 

Actualités


AddThis Social Bookmark Button