On 12/14/05, Andreas Neumeier <[EMAIL PROTECTED]> wrote: > I was wondering, if it is possible to do a entire backup of the > database into a, let's say XML file or something. > > The intention is to offer a easy possibility to users to install > applications and roll back to previor states, like having a > backup/restore button on the admin interface. Not like having to handle > database operations oneselfes.
This makes a lot of sense to me. We already abstract the schema from the bare bones SQL which Django knows how to work under water. So it makes all the more sense, especially in light of sharing around applications, to have database dumps be available in a format like XML, especially when you need to populate a database beforehand. I, unfortunately, know of no such feature right now. But I wonder how hard this might be. The schema information is already present in the models, so the only thing left is the extraction of the data in some sort of XML file, unless I am missing something very fundamental. -- Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai Free Tibet! http://www.savetibet.org/ | Je maintiendrai! http://www.in-nomine.org/ | [EMAIL PROTECTED] The distance to here is infinite...