I have cacti 8.3 in linux box
I want to move my data to another linux box with installed cacti 8.4.
Does anybody know a procedure?
How can I move cacti
Moderators: Developers, Moderators
Re: How can I move cacti
Here are the steps I use to maintain a dev cacti server in my shop.TFC wrote:I have cacti 8.3 in linux box
I want to move my data to another linux box with installed cacti 8.4.
Does anybody know a procedure?
1. Backup the mysql database:
# mysqldump -u your_user -p your_database > cactibackup.sql
2. Archive then copy all your rrd files to your new server:
# tar cvf rrdbackup.tar.gz PATH_TO_CACTI/rra/*
at this point you can scp or ftp the rrdbackup.tar.gz and the cactibackup.sql files to the new server.
3. Import the database into the new server:
Run this command on the new server
# mysql -u your_user -p your_database < cactibackup.sql
4. Finally extract all the rrd files to the rra/ directory of your new cacti server. Make sure you are in the rra directory if you want to run the command bellow.
# tar xjvf PATH_TO_ARCHIVE/rrdbackup.tar.gz
That's it!
These steps work for me. Just make sure you enter the right path names and user names, it should work ok.
If not just post it here that I or someone else will be able to help you.
Cheers,
DiegoV
Who is online
Users browsing this forum: No registered users and 1 guest