Yacoubi Mohamed - Mot-clé - cacti
2023-02-13T14:54:31+01:00
Yacoubi Mohamed
urn:md5:eacabd43d1ec1439188ee60076d41b1e
Dotclear
Export i386 rrd statistic to x86_64 arch
urn:md5:58bb6866f00687573dd3a59737f381f6
2016-09-02T16:37:00+01:00
2016-09-03T20:29:54+01:00
Mohamed YACOUBI
Divers
cacti
centos
gentoo
linux
munin
rrd
<p>I have recently begun to migrate my old Gentoo i386 to a Centos-7 x86_64. (This explains the change design blog)</p>
<p>You must export the munin rrd to a xml format :</p>
<pre>
cd /var/lib/munin/blog.yacoubi.fr/
for i in `ls *.rrd`; do rrdtool dump $i > $i.xml; done
</pre>
<p>To the new server, you just have to import and convert xml file to rrd file :</p>
<pre>
cd /var/lib/munin/blog.yacoubi.fr/
for i in `ls *.xml`; do rrdtool restore $i `echo $i |sed s/.xml//g`; done
rm -v *.xml
</pre>
<p>Of course these commands are valid for all rrd file. (cacti for example)</p>