Skip to content
Ondrej Kosarko edited this page Jun 18, 2024 · 1 revision

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

Index files content: dspace filter-media https://wiki.lyrasis.org/display/DSDOC7x/Mediafilters+for+Transforming+DSpace+Content#MediafiltersforTransformingDSpaceContent-Executing(viaCommandLine)

Create database dump

pg_dump --username "postgres" dspace > dspace-entities-[date].sql Without --username it will take logged in user and then it can throw access denied error.

Clone this wiki locally