GeorgeS: Dedicated character backup-restore tool
I've had a few people run requests by me for sql updates.to the DB - I know when I started, this is what I wanted to do, but it became very hard as my "simple" method had to be abandoned due to the memory problems it created. It probably still can be done, but would be very hard and would take up a lot of time, that can be better spent on spawning and building zones.
I'm probably the only one constantly posting my updates (I know there must be more people like me, that hate to wait for updates!), I try to make it as simple as possible so everyone can benefit.
The best solution I can think of is a selective backup/restore tool for the database - I use MySql-Admin, and I also have used yours, but why not have a dedicated eqemu character back-up restore tool? one that only keeps track of of tables that are unique to the server, and has little configuration or thinking to do.
I usually keep a back up of these;
ACCOUNT
CHARACTER_
CHARACTER_BACKUP
INVENTORY
SHAREDBANK
But this is just me, and all I mostly do is run around the zones testing and doing db work.
I wonder if there would be more tables? If anyone can think of more, please post. I know another would probably be ;
some parts of VARIABLES (motd, logintype, etc)
For the most of them the utility would probaly need to DROP then remake tables, then add back-up data - but at least for VARIABLES, maybe use REPLACE?
And I wonder what other tables would be needed, if any?
This would be just a simple, user-friendly tool for back-up and restore tool for any type of server (public or minilogin), that would probably only require you know how to set the db.ini file.
|