0

I need to copy data from a MarkLogic 7 database to MarkLogic 9 database on another system. I tried backup and restore option provided by the MarkLogic Admin console. The original database in MarkLogic 7 had only 1 forest attached to it. I created a new database with the same name in MarkLogic 9. Also created a new forest in MarkLogic 9 with the same name as in MarkLogic 7 attached to it. I am not sure where i am doing it wrong.


Steps followed in detail:

  1. Go to MarkLogic 7 Admin console.
  2. Go to Configure -> Databases -> <database_name> -> Backup/Restore tab
  3. Enter the path to store the backup.
  4. Select 'true' for Include replica forests.
  5. Select 'false' for Archive journals.
  6. Click 'OK' button.
  7. Go to MarkLogic 9 Admin console.
  8. Go to Configure -> Databases -> <database_name> -> Backup/Restore tab
  9. Enter the path to restore the backup from.
  10. Select 'true' for Include replica forests.
  11. Select default values for other radio buttons.
  12. Click 'OK' button.
  13. I receive the following error: Operation failed with error message: XDMP-BACKUPEMPTY: xdmp:database-restore((), "<path_to_backup_directory>", (), fn:false(), (), fn:false(), (), "") -- No forests specified for backup or restore.. Check server logs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.