I'm zipping this file for everyone to have.
there are 2 files (actually 3, but readme.txt does not count)
1) backup.bat
Does just that, backs up your server's database. Then it will exit after it's finished.
2) sqlfull.bat
Will create a folder eqemusource in your C:\ drive and then put all of your source files from database into that folder. Then it will exit after it's finished. What I means by all of your source files, is that it seperates all your db sources 1 by 1. so you'll end up with a folder with all of your db sources..like accounts, characters, npc's..exct.
If you want to learn from it, right click and click edit.
http://www.geocities.com/blisto_games/backup.zip
right click, save file as.