Dear all
I am in the process of migrating our current DSpace 6 installation to DSpace-CRIS 7. While I have made progress with some steps, I am encountering challenges with re-indexing the old files into DSpace-CRIS. I followed the standard DSpace backup and restore procedure, but it did not work as expected.
Below are the steps I have followed so far:
Database Backup:
- Assumed the old version of DSpace is running.
- Took a PostgreSQL database backup using the following commands:
sudo su - postgres
pg_dump dspace > dspace.backup
- Stored the backup in /var/lib/postgresql/ and moved it to a secure location.
Backup of Assetstore and Log Folders:
Restoration Steps to DSpace-CRIS 7:
- Installed the latest DSpace version.
- Restored the assetstore, log folders, and dspace.backup file to the home folder.
- Stopped the Tomcat server:
- Replaced the new assetstore and log folders with the old ones:
sudo mv /home/assetstore /dspace
sudo mv /home/log /dspace
- Restored the database:
sudo -u postgres psql
DROP DATABASE dspace;
CREATE DATABASE dspace;
\quit
sudo su postgres
psql -f dspace.backup dspace
exit
- Enabled the pgcrypto extension:
sudo su postgres
psql --username=postgres dspace -c "CREATE EXTENSION pgcrypto;"
exit
- Upgraded the database:
sudo /dspace/bin/dspace database migrate
- Indexed the discovery:
sudo /dspace/bin/dspace index-discovery -b
sudo /dspace/bin/dspace filter-media
sudo /dspace/bin/dspace index-discovery
sudo /dspace/bin/dspace index-discovery -o
- Restarted the Tomcat server:
sudo service tomcat start
Despite following these steps, the migration process is incomplete, particularly regarding re-indexing. I would appreciate it if someone could guide me on migrating DSpace 6 to DSpace-CRIS 7 successfully, including addressing the re-indexing issue.
Thank you in advance for your support.