Excellent notes on moving from 32 to 64 bit. I had to do the rrdtool dump/restore for the rrd's on NMIS and was looking at the steps needed for Cacti (mostly db backup/restore) when I found your post.
Very helpful, thank you for posting.
[HOWTO] Migrating between architectures and directories
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Thu Oct 18, 2007 1:34 pm
- Location: Chapin, SC USA
Thank you!
I spent a few minutes to tailor your script for my environment, and your script saved me hours!
-
- Cacti User
- Posts: 141
- Joined: Thu Apr 10, 2008 6:52 pm
Re: [HOWTO] Migrating between architectures and directories
Awesome script! Thank you.
I found this to work best for me:
disable poller in cacti settings
find /xml/path/here -name \*.xml | while read i; do A=`echo $i|sed 's/\.xml//'`; echo rrdtool restore -f $i $A; done > restore_rrd.sh
chmod +x restore_rrd.sh
./restore_rrd.sh
(wait for last command to finish, it will take a while)
mv /xml/path/here/*.rrd /var/www/html/rra/
enable poller in cacti settings
I found this to work best for me:
disable poller in cacti settings
find /xml/path/here -name \*.xml | while read i; do A=`echo $i|sed 's/\.xml//'`; echo rrdtool restore -f $i $A; done > restore_rrd.sh
chmod +x restore_rrd.sh
./restore_rrd.sh
(wait for last command to finish, it will take a while)
mv /xml/path/here/*.rrd /var/www/html/rra/
enable poller in cacti settings
Who is online
Users browsing this forum: No registered users and 1 guest