Hi,
I would like to try the Online Backup tool as I am making backups up to now with the not encouraged file-copying method while the database is online.
So my first question is to this file-copying. I've read at the Database Doctor that copying the db file while it is online may cause corrupted DB file. Does this mean that the copy can be corrupted or even the source file ?
My second question is about starting the online backup. The manual suggests starting it via the EntityManager with the code
em.createQuery("objectdb backup").getSingleResult();
But how do I start it if I am using only JDO ? Will the above code still work for me if I arrange having an EntityManager upon my DB file? Or does some equivalent syntax work with JDO too ? Perhaps something like:
persistenceManager.newQuery("objectdb backup").execute()
Thx,
JG