Open kairoaraujo opened 1 month ago
We want to be able to use this to help a customer resolve a compromised database: if the database was compromised they should be able to bulk import all of the attestations back into the archivista database (or essentially, re-index).
We can also leverage this to do a more scalable attestation migration than make load-attestations
we should not use the HTTP upload endpoint to achieve this
Describe the solution you'd like:
This feature enables Archivista users to import attestations (bulk) and store them in the Archivista Service
User value:
Users that already have attestations will be able to import them and store them in Archivista easily
Expected behavior:
Users can give a local folder or a s3 bucket URL and import all Attestations in Archivista.
Proposed solution:
Implement
archivistactl import
sub-command with options:--from-s3 [s3-bucket-url]
--from-dir [dir]
Testing changes required:
Does it need to identify duplicated entries?