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