Hi Pavan,

I have been successfully followed the steps on the same site to migrate the 
EPrints 2.1 to Dspace. Here are the steps  I documented. I tried it under 
dspace 1.4.2 and it works for code I checked out from dspace 1.5 trunk 
before dspace1.5 alpha released. Of course, you have to update the xslt file 
to fit your own repository structure.
CLEAN DSPACE DATABASE

  a.. run "ant clean_database" under 
dspace_home/truck/dspace/target/dspace-1.5-SNAPSHOT.dir/. This will remove 
DSpace database tables, destroying data (you may have different source path 
to run ant command)
  b.. and then, under the same directory, run "ant setup_database"
  c.. run "ant load_registries"
EXPORT DATA FROM EPRINTS

  a.. export data from eprints - under eprints bin dir, run
  > ./export_xml eprints archive > data/archive.xml // for archive items. In 
dspace, they are installed items
  > ./export_xml eprints inbox > data/inbox.xml // for inbox items. In 
dspace, they are unfinished items
  > ./export_xml eprints deletion > data/deletion.xml // for deletion items. 
In dspace, they are withdrawn items
  > ./export_xml eprints buffer > data/buffer.xml // for items in submission 
buffer. In dspace, they are items in workflow process
  > ./export_xml eprints document > data/document.xml // for document 
download
  > ./export_xml eprints user > data/user.xml // for users. In dspace, they 
are epersons
  a.. move all data to eprints_to_dspace/xml_data on dspace server
LOAD EPERSON (I developed a java code to upload Eprints users too. If you 
are interested, I can send you the code too)

LOAD ITEMS

  a.. make sure all matadata registery for your repository are there in 
dspace.
  b.. parse eprints data to dspace format. Edit file 
/usr/local/src/eprints_to_dspace/config.xml, set doXSLTransformation to True 
and run eprints_to_dspace.py (make sure directory eprints_data is clean)
  c.. seperate records with different document types (maybe special for our 
repository. We have different collections for different document types)
  d.. edit file /usr/local/src/eprints_to_dspace/config.xml, set 
doCreateArchive to True and run eprints_to_dspace.py (make sure directory 
dspace_data is clean)
  e.. for each document types, run eprints_to_dspace to generate dspace 
simple archive(maybe special for our repository)
  f.. to import items from archive, run /usr/local/dspace/bin/dsrun 
org.dspace.app.itemimport.ItemImport -e [EMAIL PROTECTED] -a -s 
/usr/local/src/eprints_to_dspace/dspace_data -c <collection-handle> -m 
mapfile
  g.. to import items from inbox, run usr/local/dspace/bin/dsrun 
org.dspace.app.itemimport.ItemImport -e [EMAIL PROTECTED] -a -W -s 
/usr/local/src/eprints_to_dspace/dspace_data -c <collection-handle> -m 
mapfile
  h.. to import items from deletion buffer, run usr/local/dspace/bin/dsrun 
org.dspace.app.itemimport.ItemImport -e [EMAIL PROTECTED] -D -s 
/usr/local/src/eprints_to_dspace/dspace_data -c <collection-handle> -m 
mapfile
  i.. to import items from submission buffer, run usr/local/dspace/bin/dsrun 
org.dspace.app.itemimport.ItemImport -e [EMAIL PROTECTED] -a -w -s 
/usr/local/src/eprints_to_dspace/dspace_data -c <collection-handle> -m 
mapfile
I updated ItemImport.java too to map the eperson with the item, and added 
option -D and -W to upload the deleted items and incompleted items.

Hope this helps,
Ying


----- Original Message ----- 
From: "pavan krishnamurthy" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, December 20, 2007 5:07 PM
Subject: [Dspace-tech] Eprints to Dspace migration


> Hi,
>
> Has anybody tried with Eprints to Dspace migration. If Please can u
> send me the steps you followed to migrate . Currently i followed steps
> given in this 
> site(http://rubric.edu.au/techreports/tech_report-eprints_to_dspace.htm).
> But i wasn't able to successfully import , i got some 1000 directories
> created in my output directories which had dublin_core.xml files in
> it.
> I was not able to successfully ingest items. If anybody has
> successfully migrated , can u please list me the steps you followed.
>
> Thanks
> Pavan
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to