Hi,

I was quite surprised to read the recent post about the Applications 1 Full
Backup export extension because i have been working on the same issue.
My basic approach was similar, a full backup and ignoring the builders whose
content will be created by MMBase on startup.
The difference is that I use JDBC to connect to the database and read the
datamodel and all tables and fields, so currently i'm not using any MMBase
code, other then mmbase.util.Encode to encode content.
With this approch it is possible to backup a remote database to your local
machine without using the MMBase ADMIN, and it is even possible to use it in
your ant build script, so you can create a task with the following steps:

1) backup the data
2) drop the database
3) create the database
4) use the backup as default content

Another use may be to use it in a cron process to backup data in a scheduled
way.

Right now it doesn't need any application to perform a backup, but it could
be added, as well as a traditional style of contextdepth backup in case you
need it.
Also a Swing GUI could be added to control the exported tables and more.

Any comments/suggestions are welcome.

Wouter

Developer

Finalist IT Group
Java Specialists
-------------------------------------------------------------
Amsterdam, The Netherlands
Office: +31 20 5962330
Fax: +31 20 5962331
-------------------------------------------------------------


Reply via email to