Back up every database of the server at the same moment (server closed), and restore them together:
- IGCN: MuOnline, Me_MuOnline (if used), Events, Ranking, BattleCore
- MuEmu, Louis, MSPro, X-Team: MuOnline (one database)
- MuDevs: MuOnline and BattleCore
- WebZen 97d: MuOnline and Ranking; Season 2 namech: MuOnline, MuOnline_Event, MuOnline_Ranking
- DV-Team (MySQL): muonline and log (mysqldump)
- plus the website database if your CMS uses its own (DmN keeps DmN tables in a separate web database)
Backup:
BACKUP DATABASE [MuOnline] TO DISK = N'C:\MUBackup\MuOnline.bak' WITH INIT;(the folder must exist and the SQL Server service must be allowed to write there)
Restore on a new PC or as a test copy:
RESTORE FILELISTONLY FROM DISK = N'C:\MUBackup\MuOnline.bak';
RESTORE DATABASE [MuOnline_test] FROM DISK = N'C:\MUBackup\MuOnline.bak'
WITH MOVE 'MuOnline_Data' TO N'D:\SQLData\MuOnline_test.mdf', MOVE 'MuOnline_Log' TO N'D:\SQLData\MuOnline_test.ldf';(use the logical names FILELISTONLY shows). Rules: the target SQL Server must be the same version or newer; old WebZen SQL 2000 backups need 2005 / 2008 / 2008 R2 first. After a restore, recreate the ODBC DSN (MuEmu based files) or IGCDS.ini [SQL] names (IGCN), and re-link a non sa SQL user if it shows as orphaned.
Source: database lists of IGCN CreateDatabase.sql, MuDevs Create Scripts, 97d / Season 2 packs, DV-Team dumps, DmN CMS setup; version rules in the MuADMINS SQL guide research (sql_facts).