-
Bug
-
Resolution: Done
-
Major
-
5.0.0.Final
-
None
-
1
-
- creating a backup via the modeshape-api and a database as datastorage
- restoring the backup via modeshape-api
-
Workaround Exists
-
When creating a backup from our Modeshape-Datastore (it's postgres as db in the background) the system-node is written twice into the backup-file.
Creating the backup file works like a charm.
But if we want to restore the backup, our database complains about a duplicate key, coming from the double system-node entry.
If we now delete the second system-node entry in the backup file, we can restore the backup without any errors.
This issue can easily be fixed with removing the "PHASE2" in BackupService.execute() due to the system-node is already saved in "PHASE1".
If you can see it, here is the commit in our fork