Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Createdb

fschoeppl edited this page Oct 29, 2012 · 3 revisions

Re-/Creating the database scheme

IMPORTANT: The following instructions drop the previous database scheme and therefore delete all of its data.

To create and inject the database scheme of the backmeup core, execute following steps:

  1. Configure persistence.xml of the org.backmeup.embedded project (according to the next section)
  2. cd org.backmeup.embedded
  3. mvn -P create-db hibernate3:hbm2ddl
  4. A success message is being displayed

Make sure that you clean the keyserver afterwards! Otherwise the databases will be inconsistent.

persistence.xml configuration

Take a look at https://github.com/backmeup/backmeup-prototype/wiki/hiberanteconfig

Clone this wiki locally