[Guide]Database Back-Up & Restore menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    Stabatha's Avatar Contributor
    Reputation
    84
    Join Date
    Dec 2007
    Posts
    345
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Guide]Database Back-Up & Restore

    I just noticed there is no guide here yet how to back up your data and I know a lot don't understand how to. So....

    log into ssh..

    To back up your database type:
    mysqldump --opt -Q -umy-username-here -p database-name-here > database-name-mm-dd-08.sql (hit enter key).

    Of course change "my-username-here" to your ssh login name, be sure to leave -u in front of the name still. "database-name-here" to the database name. If your not sure of the name look in your world or logon config and "database-name-mm-dd" to the name of the database and date it.

    You will now be prompted to enter a password. Enter your ssh password not the database password, well unless they are the same of course.

    Let it run til you get the bash prompt again and your done. It takes about 10 seconds per 100MB of size.

    Restore from a database backup..

    In ssh type the following to wipe the saved tables in your database backup and restore the information from it.

    mysql -umy-username-here -p database-name-here < database-name-mm-dd-08.sql

    Of course change "my-username-here" to your ssh login name, be sure to leave -u in front of the name still. "database-name-here" to the database name. If your not sure of the name look in your world or logon config and "database-name-mm-dd" to the name of the database sql file you want to restore your data from.

    You will now be prompted to enter a password. Enter your ssh password not the database password, well unless they are the same of course.

    Let it run til you get the bash prompt again and your done. It takes about 10 seconds per 100MB of size.

    Remember you can also use the restore method for importing to a new database for the firs time. Just simply upload the .sql files and then follow the restore steps.

    GoblinCity.net -
    Home of the only Cataclysm Twink Server
    Instant Level 49 * Custom Gear * Scripted Raids * Tons More
    We are the oldest private twink server community - Open since 2007

    [Guide]Database Back-Up &amp; Restore
  2. #2
    TheNlghtmare's Avatar Member
    Reputation
    12
    Join Date
    Sep 2008
    Posts
    142
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +REP. This is needed for any person who is running a server.

  3. #3
    Rusmar's Avatar Member
    Reputation
    1
    Join Date
    Jul 2007
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cool guide

Similar Threads

  1. [GUIDE] ...How To Excute SQL FILES In To Your Database...
    By Followup in forum WoW EMU Guides & Tutorials
    Replies: 10
    Last Post: 08-01-2020, 08:04 AM
  2. [GUIDE] Databases and their uses
    By Minip2hn in forum WoW EMU Guides & Tutorials
    Replies: 10
    Last Post: 04-19-2009, 03:19 AM
  3. Database Table Repair Guide and Files.
    By Daxo in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 11-04-2007, 04:52 AM
  4. Database Table Repair Guide and Files.
    By Daxo in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 11-04-2007, 04:28 AM
  5. WoW - Legends ! Guide and Database!
    By wow_pwner in forum World of Warcraft General
    Replies: 1
    Last Post: 03-18-2007, 03:27 PM
All times are GMT -5. The time now is 07:10 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search