« Home | Disable memory ballooning in VMWare » | Backup Cisco IOS stored in diffent directory » | How to SFTP if the default ssh port is changed » | Upgrading Openssh on CentOS And Chrooting a User W... » | Turn on DMA mode on a hard drive » | Enable quota in the server » | Signals, really cool! » | Logging server load to /var/log/messages » | Splitting a file in GNU/Linux » | Useful Kernel manipulation commands » 

Monday, January 17, 2011 

Converting 32bit RRD to 64bit RRD

Converting 32bit RRD to 64bit RRD (moving cacti between architectures)

On the 32 bit machine in /var/www/cacti/rra/ run in SSH:
for i in `find -name "*.rrd"`; do rrdtool dump $i > $i.xml; done
Transfer xml files to the other 64 bit machine and the same location.
On the 64 bit machine run in SSH:
for i in `find -name "*.xml"`; do rrdtool restore $i `echo $i |sed s/.xml//g`; done

Add to Google

The Author

  • Nick Perrydoo
  • Spawn at Philippines
My profile

Links


Read Ons

Article of the Day

This Day in History

Today's Birthday

In the News

Quotation of the Day

Word of the Day


Powered by Blogger
and Blogger Templates
© Copyright 2006 Ba-zoo-ra - All Rights Reserved.