Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »


Postgres

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

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

Fedora export / import

In sufia 6 instance:

$ bunx sufia_export --models GenericFile=Chf::Export::GenericFileConverter,Collection=Chf::Export::CollectionConverter

Change all the 127.0.0.1 URIs to reflect actual host.

$ #sed, probably

Move the resulting directory full of exported data from tmp/export to the new server's tmp/import (or wherever desired; this can be provided to the import script)

On sufia 7 instance:

$ bunx sufia_importĀ 

  • No labels