On Dec 14, 2005, at 2:24 PM, Andreas Neumeier 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.
How would you do this?
Any database you're using should have dump and restore tools. For
Postgres, look into "pg_dump" and "pg_restore"; for MySQL I think
it's mysqldump and mysqlrestore; for sqlite you can just backup the
db file.
Jacob