Skip to content
milanmajchrak edited this page Aug 12, 2022 · 8 revisions

If not specified otherwise, dspace means [dspace-installation-folder]\bin\dspace CLI tool

Creating new user

dspace user --add -m <E-MAIL> -g <FIRSTNAME> -s <SURNAME> -l en -p <PASSWORD>

Reindex Solr indexes

https://wiki.lyrasis.org/display/DSDOC7x/Discovery#Discovery-DiscoverySolrIndexMaintenance

Remove index of items which removed from the DB: dspace index-discovery -c

Update indexes: dspace index-discovery

Create database dump

pg_dump --username "postgres" dspace > dspace-entities-[date].sql Without --username it will take windows user and then it throws access denied error.

Clone this wiki locally