Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility of outputting to two locations? #76

Open
misilot opened this issue Sep 26, 2024 · 1 comment
Open

Possibility of outputting to two locations? #76

misilot opened this issue Sep 26, 2024 · 1 comment

Comments

@misilot
Copy link

misilot commented Sep 26, 2024

Is it possible to output to two different locations?

Reading through the documentation https://wiki.lyrasis.org/display/DSPACE/ReplicationTaskSuite#ReplicationTaskSuite-StorageOptions my understanding is that I can only do one export option, is that correct? Is there anyway to bypass it?

For example, I'd like to export to Duracloud (which I believe is working wonderfully), however, I'd to also add in a export to the local file system so that those files can be transferred to Archivematica and ingested there as well.

Archivematica documentation

@nwoodward
Copy link
Contributor

In theory, this should be possible if you created a new custom ObjectStore class to implement the ObjectStore interface, and then you would overwrite the transferObject() method to export content to DuraCloud and wherever else you wanted. Likewise, all of the other methods in ObjectStore would also need to be overwritten so that they operated on objects in the two different locations. And for a function like fetchObject() a decision would have to be made about which is the canonical copy of the content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants