You could have cron invoke wget (http://www.gnu.org/software/wget/wget.html)
which could then invoke a servlet that would call your backup routine.
This way, the
backup would run within the same JVM as the rest of the tomcat connections.
Drew Nichols wrote:
> Hi Peter,
> I am running InstantDB 3.14 with Tomcat 3.2.1 on Linux RH 7.0.
> The database is always running (open) and each evening I cron an export of
> the database using your ScriptTool.
> Is this the right way to backup the data. I have read in the docs that
> only one user can access the database concurrently, or corruption may
> occur.
> Is it possible for this to happen, given that the database is running in
> a Tomcat context when the cron job opens and closes the database?
>
> Thanks very much
>
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.
|