Wednesday, May 10, 2017

Clean Dspace database

Clean Dspace database


User can clean the existing installation of Dspace by deleting database and asset store and retain fresh install state.

First take backup of your asset store and clean the directory.

sudo su
cd /dspace/assetstore
rm -rf *

 
Clean database and go to default state of installation

/dspace/bin/dspace database clean
/dspace/bin/dspace database migrate

No comments:

Post a Comment