forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 2
CLI commands
milanmajchrak edited this page Aug 12, 2022
·
8 revisions
If not specified otherwise, dspace
means [dspace-installation-folder]\bin\dspace
CLI tool
dspace user --add -m <E-MAIL> -g <FIRSTNAME> -s <SURNAME> -l en -p <PASSWORD>
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
pg_dump --username "postgres" dspace > dspace-entities-[date].sql
Without --username it will take windows user and then it throws access denied error.