Hi Barnard,
Am 19.10.2012 12:36, schrieb Hugh Barnard:
> Hi folks
>
> I'm fairly new to fedora, so please bear with me.
>
> I can see documentation to move a complete repository via [as I
> currently understand it] dumping and moving the the database +
> copying/moving ...fedora/data which contains the datastreams and the
> objects.
>
> I'd like to move one object [or a couple, or a few] but not the whole
> repository. Is anyone doing this regularly? I'd appreciate tips, traps
> and comments on how it's being done.
>
> I'd guess that the cleanest is an 'export' and a 're-ingest'?
Do you mean by moving, moving from one fedora server to another fedora
server?
Like this:
fedora 1 fedora 2
(1) Object A injest --> Object A
(2) Object A purge
> The background to this is users that are loading a fairly complex
> structure using a bespoke method into a test instance [to see whether it
> 'works'] and then doing the exactly same thing into the live instance.
> Quite understandably, they are not that keen on this, so I'm looking for
> something else.
I think the biggest problem, is to bundle the groups of objects which
are in related. How did you solve this?
We use a so called FedoraProxy written in PHP which can interact with
Fedora through the REST api. It has ready to use methods for read,
injest, purge and update objects/datastreams. With this in place, it
should be easy to write your own method "export_to_live_instance(array[]
listOfPids)".
Let me know, if this could help you.
Have a nice day
-- Franck
> Best regards Hugh Barnard
> --
> http://www.hughbarnard.org
> http://www.twitter.com/hughbarnard
> http://www.big-wave-heuristics.com/
> <http://www.hackney-environment-network.org.uk/>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
>
>
>
> _______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users