Import AIPS and WARCs to Openstack (OLRC)
arch-importer.py - Imports AIPs that have been exported from a previous Archivematica instance via Arch-Exporter
warc-importer.py- Imports WARCS that have been exported from Archive-IT
- Download and source your Openstack RC file credentials
- Install the OpenStack and Swift clients
- Note: the script calls
swiftclient.shellto avoid confusion with the Appleswiftcommand - Set your config parameters in the script: upload dir, segment size, container name
- Run it:
python arch-importer.pyorpython warc-importer.py - If using the
arch-importer.pyrunpython filter.pyto remove sucessfully uploaded AIPs from your local upload directory. This is useful if you need to stop and start the script. You won't reload the AIPs in the upload directory