...
Fedora import
On sufia 7 instance:
- Mount the /dev/xvdh drive on the
- unpack the exported json files
...
SELECT * FROM information_schema.columns WHERE table_schema = 'public'
Cleanup
To clean up a server for a new migration test, take the following steps.
- Stop Tomcat and Solr
- Remove all the folders in /opt/fedora-data.
- Remove all the files in /var/solr/data/collection1/data/index/, and /var/sufia/derivatives
- Remove all the upload files in the tmp directory of the version of sufia used.
- Enter into postgres (psql -U postgres)
- Drop the fcrepo database (DROP DATABASE fcrepo;)
- Build a new fcrepo database (CREATE DATABASE fcrepo;)
- Grant the fcrepo user (currently tribly until we get a better user) all privileges on fcrepo. (grant all privileges on fcrepo to tribly;)
- Restart tomcat and solr