mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 19:57:46 +00:00

- regex'd in mysqlexception logging - servers can now specify server_port, log_path, log_file - added scripts to import/export all tables (exporting will export a handful of garbage table names, open and check for structure before deleting) - fixed packet logging (thanks deviltti)
10 lines
No EOL
302 B
Bash
10 lines
No EOL
302 B
Bash
#!/bin/bash
|
|
EXPORT_PATH=C:/repositories/ffxiv-classic-server/sql/
|
|
USER=root
|
|
PASS=root
|
|
DBNAME=ffxiv_server
|
|
for T in `mysqlshow -u $USER -p$PASS $DBNAME %`;
|
|
do
|
|
echo "Backing up $T"
|
|
mysqldump -u $USER -p$PASS $DBNAME $T --extended-insert=FALSE --no-tablespaces > $EXPORT_PATH/$T.sql
|
|
done; |