The basic recipe for testing the import/export utility and import/export verification tool follows:
- Start up an empty Fedora
- Load or /fcr:restore a dataset
- Export the all or some of the dataset with the import/export utility
- Verify the export with the verification tool
- Start up a new Fedora (same or different port and context)
- Import the exported resources with the import/export utility
- Verify the import with the verification tool
Variations
The above recipe can be varied in the following ways:
- For #2: In addition to custom, scripted ingest datasets, the "additional_datasets" are available for /fcr:restore
- For #3: All of the configuration options should be tested
- With and without binaries (-b)
- Using
default
andaptrust
bagit profiles - Using inbound references (-i)
- Using membership predicates (-p)
- Overwriting tombstones (-t)
- With authorization (-u)
- Exporting external content (-x)
- For #5: Start up the destination Fedora on a different port and with a different context, example