Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Windows Servers

Archive::Windows Servers Archive area for Windows Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-20-2002, 03:09 PM
ninja_looter
Sarnak
 
Join Date: Apr 2002
Posts: 58
Default backing up

I have just downloaded the 3.1.1 EMU. And want to install it immediatly, but, How do I back up my old database in 3.0..

thanks in advanced
Reply With Quote
  #2  
Old 04-20-2002, 04:01 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

You can:
1) leave the old DB and create a new one, then change db.ini to match
2) make a copy or zip the directory c:\mysql\data\{your database name}
3) c:\mysql\bin\> mysqldump {database name} > {file name}

I have become a little concerned with 3, I have noticed that \' and \" are output as ' and " that doesn't appear to source back in corectly. Anyone know how to make this work right?

NOTE for #1 If you had to use the grant all priv... thing in mysql to get connected you may need to do it again for this DB

*edit clarified #1
Reply With Quote
  #3  
Old 04-20-2002, 04:19 PM
ninja_looter
Sarnak
 
Join Date: Apr 2002
Posts: 58
Default

3 is what I was looking for, I read it somewhere I just coundn't for the life of me remember what it was... I failed to mention I wanted to try out Ariak's new db...

To be honest, I have never tried 3. here it goes..

I'm wondering if I can just make a copy of the db.sql file in Bin.. store it in another folder, dump the current database in mysql, and source the new Ariak's db. and resource this backed up one if needed.? humm. I just want confirmation before I proceed, I don't want to hose myself...
I'm soo illeterate when it comes to databases..
The database I have now has alot of new crap that I created, and I don't want to lose it, just yet..


I wish the import Database worked reliably in EQAdmin.
Reply With Quote
  #4  
Old 04-20-2002, 04:25 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

If you think you will want to go back to the old DB or want some stuff from it, just start a new DB and change the database in db.ini to match.

It is really easy, and you don't risk corrupting any of the blob data (characters, and items come to mind) I am sure there is a way to output the blobs right, but I am too lazy to find it right now :p

The file produced from mysqldump is the same type as comes with the Emu, so you just create a database, use it and source the file back in.
Reply With Quote
  #5  
Old 04-20-2002, 04:29 PM
ninja_looter
Sarnak
 
Join Date: Apr 2002
Posts: 58
Default

OMG DOh, I didnt even think of that. woot! your a life saver...

I been thinking, humm I'm gonna do it, Nah, I'm not gonna do it, Yeah, I'm gonna do it. pacing and all. lmfao

thanks!
Reply With Quote
  #6  
Old 04-20-2002, 05:01 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

That is really what I meant by #1, but looking at it I relize I worded it badly
Reply With Quote
  #7  
Old 04-20-2002, 05:46 PM
ninja_looter
Sarnak
 
Join Date: Apr 2002
Posts: 58
Default

kewl, thanks again. and for your continued help. Im downloading your DB right now =) gonna try that too...


I word everything badley, so no worries... poor me.


err, i clicked on new post... hit the wrong button..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 12:10 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3