Skip to content

Backing Up Your Database

Bryce Mecum edited this page Jan 28, 2024 · 22 revisions

Warning

This page is a draft and isn't to be treated as guidance of best practice.

It's also not complete.

Backing up a database where use data is involved is a complicated business and there's no such thing as a one-size-fits-all approach. This warning can be removed once this page has been filled in more completely.

Note

This page needs people with more knowledge to answer these questions:

Using MySQL Workbench

image

Command Line

Browse to your wamp/bin/mysql/VERSION/bin folder, then run the following (changing the username (-u) and/or password (-p) as needed:

mysqldump -u root -p ace_auth > ace_auth.sql
mysqldump -u root -p ace_shard > ace_shard.sql

And if you have customized weenies (.sql files) or modified anything in ace_world, also run:

mysqldump -u root -p ace_world > ace_world.sql

How Coldeve does running backups

Notes

  • They use --single-transaction in their backup script (via @gmriggs)