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:

   1. 
   
   *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.
   2. 
   
   *Backup of Assetstore and Log Folders:*
   - Created backups of the assetstore and log folders using these commands:
      cd /media/<your_pc_name>/<External_Hard_Disk>
      -  sudo zip -r assetstore.zip /dspace/assetstore sudo zip -r log.zip 
      /dspace/log 
      3. 
   
   *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:
      sudo service tomcat stop 
      - 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.

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/936343e5-2def-441a-9ca8-106438b139d1n%40googlegroups.com.

Reply via email to