[Archivesspace_Users_Group] Transfer/export to another repository on another server ?

Nathan Stevens ns96 at nyu.edu
Mon Sep 22 10:20:05 EDT 2014


Copying resource records from one ASpace instance to an other, using JSON
 could be problematic.  Those JSON resource records may have links to
related records (Subjects, Agents, Accessions, Locations, Digital Objects)
which won't be valid on the other ASpace instance.  Is this situation, you
would either get an error, or the record would transfer, but it would be
link to the wrong set related records.

The solution for this problem is very challenging, and I think the safest
way to do this for now is by using EAD import/export once the importers are
improved in the next ASpace release.



On Fri, Sep 12, 2014 at 4:24 PM, Steven Majewski <sdm7g at virginia.edu> wrote:

>
> I know I can transfer a resource from one repository to another on the
> same server.
> I there a way to easily move a resource from one ArchivesSpace server
> instance to another ?
>
> I know I can export to EAD and reload that again, but we’ve been having
> enough problems with
> EAD import and export that I’ld rather not do it this way.
>
> I tried what I thought was the obvious API method:
>
>
> ./curl_as_osx admin [pwd] -O
> http://archives-test.lib.virginia.edu:8089/repositories/9/resources/3964
>
> ./curl_as_osx admin [pwd] -d @3964
> http://localhost:8089/repositories/2/batch_imports
>
> But I get this error:
>
> [
> {"status":[{"id":1,"label":"Reading JSON
> records","type":"started"},{"id":1,"label":"Reading
> JSON records","type":"done"},{"id":2,"label":"Validating records and
> checking links","type":"started"}]},
> {"saved":[],"errors":["Server error: Can not deserialize instance of
> java.util.LinkedHashMap out of VALUE_STRING token\n at [Source:
> java.io.FileReader at 51d866d9; line: 1, column: 1]"]}
>
> ]
>
>
> Is that something that should theoretically work ? Or am I trying to feed
> it the wrong JSON schema ?
>
> I only want to move selected records, so a database dump is not a simple
> way to do it either.
>
> Are there any other migration tools to help with this problem ?
>
>
>
>
> — Steve Majewski / UVA Alderman Library
>
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
>
>


-- 
Nathan Stevens
Programmer/Analyst
Digital Library Technology Services
New York University

1212-998-2653
ns96 at nyu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20140922/fe019c94/attachment.html>


More information about the Archivesspace_Users_Group mailing list