Upload
brianllayne8160
View
367
Download
4
Embed Size (px)
Citation preview
Jeutie's blizzlike repack 9.3 database backup for Dummies
Page 1 of 11
Jeutie's blizzlike repack 9.3 database backup for Dummies
Index:
2 Index and prolog
3 Starting up the database
4 Starting heidisql
5 Exporting the database
8 Retrieving data (importing)
11 Credits
There's no greater frustration then losing data, all that time you
have spend leveling and gathering stuff" and due to an error
its all""lost"
That's why it's recommended that you backup your data"
After a day of playing I always backup, so in case of an error
I can re-role to an earlier date when all was fine" losing
maybe a few hours of data instead of days"
This guide will show you how to backup and restore your data
using heidisql
If you don't have heidisql, dowload it, it's free"just google heidisql
and you'll be fine"
Have fun with it"and in some cases good luck :-)
Page 2 of 11
Jeutie's blizzlike repack 9.3 database backup for Dummies
Starting up the database#
To make a connection to the database we need to start the mysql.bat first
If you've read my other guides you probably know where to go"
If you still haven't figured this out, you won't be needing any backup
cause you haven't figured out how to get the server running"
Leave the window open"
Page 3 of 11
Jeutie's blizzlike repack 9.3 database backup for Dummies
Starting Heidisql#
Startup heidisql"
User name is: root
Password is: ascent
Click on open"
Page 4 of 11
Jeutie's blizzlike repack 9.3 database backup for Dummies
Exporting the database#
After starting heidisql, you'll see the window below, select Export on the menu bar"
On the dropdown menu, select: Export database as SQL (in this case none other can be selected
so it's pretty obvious you should select this one)
Page 5 of 11
Jeutie's blizzlike repack 9.3 database backup for Dummies
Now we need to select the database(s) we want to backup, in our case this will be the
auth and characters database.
Just click on the empty boxes next to it, till you see the check (see pic. Below)
Now that we selected the data we want to backup, we are gonna write it to disk
Page 6 of 11
Jeutie's blizzlike repack 9.3 database backup for Dummies
We are gonna safe it as "One big file", just set everything as you see above"
Database(s): check create
Table(s): check create
Data: REPLACE existing data
Output: One big file
Filename: well, this can be whatever you like, I always call it: backup- (and date)
so in this case I called it: backup-4-10-2011
Click on the disk next to the filename, a new window will popup, just select a directory
where you want to backup to, In the repack directory structure there's also a directory
called backup, you could put it there" always put it in a place where you can easily find
it again.
Ok, now that we selected the databases and we gave the file a name it's time to export
Just click on the export button on the bottom right"
The exporting will begin, you will know when it's done when the close button can be clicked.
You now succesfully backed up your data"
TIP: Backup everytime you finished playing"(so daily)
Page 7 of 11
Jeutie's blizzlike repack 9.3 database backup for Dummies
Retrieving data (importing)#
Now that you have made a backup of your database, it would be nice if you could restore
it too, here we go:
Select the auth database by right clicking on it, a drop down menu will appear.
Select Drop" (this will delete the auth database)
A window will popup, asking you to confirm this"
Select the characters database by right clicking on it, a drop down menu will appear.
Select Drop.. (this will delete the charcters database)
A window will popup, asking you to confirm this"
The auth and charcters database are gone from the listing.
Page 8 of 11
Jeutie's blizzlike repack 9.3 database backup for Dummies
Select Import from the menu bar, and select Load SQL file#
Here you have to select the file you want to restore, I've made a backup called:
backup-4-10-2011, so in this case I select that, click on open (mine says: openen but it means the
same in dutch)
Page 9 of 11
Jeutie's blizzlike repack 9.3 database backup for Dummies
The next screen will appear, to put back the database(s) you will have to excute teh sql file
by clicking on the blue triangle (play/execute) or press F9
The database and table's will be created again, after it's finished the auth and characters don't
show up yet, you'll have to refresh the screen by pressing the two green arrows (refresh) or press
F5, now the databases show up again
You have succesfully retrieved your precious data". (hopefully) :-)
Page 10 of 11
Jeutie's blizzlike repack 9.3 database backup for Dummies
Credits#
All credits go to Jeutie, for his excellent repack (and people who helped him.)
Regards,
ReDeemer
p.s.
If you screw something up don't blame me :-)
Page 11 of 11