seperating database

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

seperating database

Postby Michael_N » Tue Apr 13, 2010 12:51 pm

I have a vicibox dial and i wish to move database to another server.

Is it just enogh with a default install of mysql-server 5.1 ?

do i need to change my.cnf on the new server?

What settings do i need to change on vicibox?

Is it enogh changeing astguiclient.conf ?

Do i need to disable mysql-server on vicibox, if yes where is it done?
Michael_N
 
Posts: 687
Joined: Wed Jul 05, 2006 3:13 pm
Location: sweden

Postby DarknessBBB » Tue Apr 13, 2010 3:26 pm

Hi Michael, as we talked in private, I've installed Vicibox Redux on both machines, and then disabled what I had to disable in "yast".

If you only have to move MySQL you only have to change its address in astguiclient.conf

for the backup I've used this string:

Code: Select all
mysqldump --opt -uUSER -pPASSWORD DATABASE | gzip -9 > /backup/`date -I`_db.sql.gz


--opt is an alias for the options

--add-drop-table --add-locks --create-options --disable-keys --extended-insert --lock-tables --quick --set-charset

For the restore

Code: Select all
gunzip < /backup/DATE_db.sql.gz | mysql -uUSERNAME -pPASSWORD DATABASE
DarknessBBB
 
Posts: 328
Joined: Mon Jul 16, 2007 10:14 am

Postby Michael_N » Tue Apr 13, 2010 3:35 pm

thanks and if its another server like 5.1 ?
Michael_N
 
Posts: 687
Joined: Wed Jul 05, 2006 3:13 pm
Location: sweden


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 79 guests