[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Bulk export/import



Hi Andrew,

First of all, I am new to EPrints, so please don't take my word for 
granted! :):)

Now to your question: If you want to perform a bulk import/export 
from/to EPrints, I think the XML plugin is what you're looking for. So:

./bin/export reponame archive XML > /tmp/export.xml

would export all your records (and metadata for included files) in 
/tmp/export.xml

The same file could be used to import data analogously with:

./bin/import reponame --verbose --user admin archive XML /tmp/export.xml

You can check if everything "looks OK" before importing with:

./bin/import reponame --verbose --parse-only --user admin archive XML 
/tmp/export.xml.

I assume the above things work, but I haven't tested them enough, so I'd 
expect you waited for verification or other opinions before applying 
them to a critical system.

George.

On 01/07/2015 05:25 ??, Andrew Beeken wrote:
> Hello all!
>
> I?m currently looking at migrating our repository to a fresh install, mainly because we have a bit of customisation to our live repo and I want to see how this process would affect the integrity of the data. Is there an easy way of importing all records from one repository, say to an XML file and then importing to the new one?
>
> Andrew
>
> The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research.
>
> The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.
>
> Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.
>
> The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
>


-- 
George Mamalakis

IT and Security Officer,
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),
PhD (Aristotle Univ. of Thessaloniki),
MSc (Imperial College of London)

School of Electrical and Computer Engineering
Aristotle University of Thessaloniki

phone number : +30 (2310) 994379