Unless your test system is set up to resolve handles, what handle you use 
doesn't really matter. I use the same handle prefix on my development copy as 
on our production system.

If you do want to change the handle prefix, use 
[dspace]/bin/update-handle-prefix

Cheers,


Stuart Lewis
Digital Services Programmer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/


-----Original Message-----
From: Mark Diggory [mailto:[email protected]] 
Sent: Friday, 19 June 2009 3:54 a.m.
To: [email protected]
Subject: Re: [Dspace-tech] Export/import of noncontent objects (Epersons,etc.)?

On Thu, Jun 18, 2009 at 6:47 AM, Mark H. Wood<[email protected]> wrote:
> [database dump/load plus rsync the assetstores]
>
> But just copying the database copies the handles and the users.  I
> don't want the users carried over, and I *think* I don't want the
> handles carried over.

Well, thats really more a pain point with the way handles are
persisted in the item metadata and exposed, it would have been much
better to leave off the prefix/namespace of the handle in the system
and have the system calculate that, then it would be possible to setup
separate handle services under a separate namespace and have the test
serice resolve there... But, I can see two different possible
approache for dealing with this.

1.)  Just massaging the db data to change the handles.

2.)  Write a java routine that traverses the Items and assigns new
handles in the test service.

> What I should wind up with is two distinct repositories which happen
> to have received exactly the same set of submissions since the day
> each was turned on.

Well, that seems more a question "hot syncing" vs. "offline syncing".
You might look at the TAMU Harvester Addon for something like this
capability, this would also allow you to keep separate users/handle
spaces if I remember correctly.

Mark

-- 
Mark R. Diggory
@mire - http://www.atmire.com

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to