Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


MySQL db move

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
Guest






PostPosted: Thu Feb 13, 2003 3:30 pm    Post subject: MySQL db move Reply with quote

We need to move our Cacti installation to another server, and I am not a dba by anymeans. I can get Cacti installed correctly like new but how do I import the data so as not to corrupt anyhting. I am also assuming not to run Cacti in the Crontab untilI have the db moved- correct?

Can anyone shed some light on this?
Back to top
unyks



Joined: 12 Feb 2003
Posts: 5
Location: Stuttgart/Germany

PostPosted: Thu Feb 13, 2003 5:56 pm    Post subject: With PhpMyAdmin! ;) Reply with quote

This is very simple:

1. open with your Browser PhpMyAdmin
2. select in the left frame your cacti database

your right frame shows now "Database cacti running on localhost" or anything like this on top.

3. select "Export"
4. in the "View dump (schema) of database" form select "Structure and data"
5. "Select all" (the tables in your db)
6. Select "Extended inserts" and "Save as zipped" or when you prefer "gzipped".
7. press "go"

now you have your complete db in a file downloaded..

on the new server, open phpmyadmin again

1. create a the new database with the same name from the old server
2. select "SQL"
3. point your browser to your sql-file
4. press upload

finished

i hope you understood my english, sorry

greets

chris
Back to top
Guest






PostPosted: Fri Feb 14, 2003 11:10 am    Post subject: now how do I move the rrd files and the cacti confi Reply with quote

now how do I move the rrd files and the cacti config if the pathing is different on both servers?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group