Dear objectdb Team
1. I could not find a way, to declare the name of the backup-file (while running the database). The only way I found is to create the folder in which objectdb will copy the database - file:
Query backupQuery = em.createQuery("objectdb backup"); backupQuery.setParameter("target", new java.io.File("c:\\backup")); backupQuery.getSingleResult();
The code above, for instance, could create a backup at c:\backup\201012312359\test.odb regardless of the ObjectDB home directory location.
Is there any way to create the backup database-file to a self defined target without any Date/Time Information
maybe: ../Users/backup/mybackup.objectdb
2. What about the $odb File ? Does this file needs to be backed up?
best regards
Arne