mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2016-04-06
This commit is contained in:
@ -57,3 +57,15 @@ java.io.FileNotFoundException: /home/cgspace.cgiar.org/assetstore/64/29/06/64290
|
||||
```
|
||||
|
||||
- Also, adjust the cron jobs for backups so they only backup `dspace.log` and some stats files (.dat)
|
||||
- Try to do some metadata field migrations using the Atmire batch UI (`dc.Species` → `cg.species`) but it took several hours and even missed a few records
|
||||
|
||||
## 2016-04-06
|
||||
|
||||
- A better way to move metadata on this scale is via SQL, for example `dc.type.output` → `dc.type` (their IDs in the metadatafieldregistry are 66 and 109, respectively):
|
||||
|
||||
```
|
||||
dspacetest=# update metadatavalue set metadata_field_id=109 where metadata_field_id=66;
|
||||
UPDATE 40852
|
||||
```
|
||||
|
||||
- After that an `index-discovery -bf` is required
|
||||
|
Reference in New Issue
Block a user