Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Postgres

You can get a list of all tables and fields with the command:

...

General outline

  1. Spin up machine
  2. Deploy Sufia
  3. Ensure apache is off
  4. Move over minter
  5. Migrate Fedora
    1. Activate maintenance mode on old server
    2. Run audit script
    3. generate json export files
    4. change URIs therein
      1. Further analysis of these URIs is warranted
    5. move json files to new server
    6. run the import job
  6. migrate postgres
  7. run (currently nonexistent) verification job
  8. migrate dump.rdb
  9. Reindex solr

Fedora export / import

In sufia 6 instance:

...

$ bunx sufia_import -d tmp/chf-import --json_mapping Chf::Import::GenericFileTranslator=generic_file_

Misc.

Postgres

You can get a list of all tables and fields with the command:

SELECT * FROM information_schema.columns WHERE table_schema = 'public'