From: Matthew P. <mp...@he...> - 2004-06-25 11:07:33
|
I'm doing some forward planning for future Debian packaging features, and I want to wean people off the dba page stores that were de jure before SQLite support. I'm wondering what the best way to do the conversion from page storage in dba to page storage in SQLite. Is there a command line tool to do pagedumps and pageloads? If so, can it be pointed at databases other than the one configured in the config.{ini,php} file? That would be useful, because I'll have to rewrite the config file, and it'd be useful if the config rewrite were complete before I start the dump, but it's not essential. If no such tool exists, what would the best method be to write one? Just link into the WikiDB stuff, read out all the page revisions, and then throw them back in? Am I going to lose large chunks of metadata doing that? Is WikiDB even built for that sort of thing? Is the in-wiki admin dumping code going to be suitable for easy adaptation? (I presume so, but it's nice to have confirmation) Thanks, - Matt |