mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes
This commit is contained in:
@ -958,3 +958,16 @@ sys 0m12.317s
|
||||
|
||||
- I tested the abstract cleanups on Bioversity's Journal Articles collection again that I had started a few days ago
|
||||
- In the end there were 324 items in the collection that were Limited Access, but only 199 had abstracts
|
||||
- I want to document the workflow of adding a production PostgreSQL database to a development instance of [DSpace in Docker](https://github.com/alanorth/docker-dspace):
|
||||
|
||||
```
|
||||
$ docker exec dspace_db dropdb -U postgres dspace
|
||||
$ docker exec dspace_db createdb -U postgres -O dspace --encoding=UNICODE dspace
|
||||
$ docker exec dspace_db psql -U postgres dspace -c 'alter user dspace createuser;'
|
||||
$ docker cp test.dump dspace_db:/tmp/test.dump
|
||||
$ docker exec dspace_db pg_restore -U postgres -d dspace /tmp/test.dump
|
||||
$ docker exec dspace_db psql -U postgres dspace -c 'alter user dspace nocreateuser;'
|
||||
$ docker exec dspace_db vacuumdb -U postgres dspace
|
||||
$ docker cp ~/src/git/DSpace/dspace/etc/postgres/update-sequences.sql dspace_db:/tmp
|
||||
$ docker exec dspace_db psql -U dspace -f /tmp/update-sequences.sql dspace
|
||||
```
|
||||
|
Reference in New Issue
Block a user