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

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

Creating users

Normal user

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

Admin

dspace create-administrator -e test@test.edu -f admin -l user -p admin -c en

Reindex OAI-PMH indexes

dspace oai import -c

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