EPrints Technical Mailing List Archive

Message: #04440


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Bulk export/import


I wonder... Is it possible to export by type? I could perhaps export each
type separately...

On 02/07/2015 12:18, "eprints-tech-bounces@ecs.soton.ac.uk on behalf of
George Mamalakis" <eprints-tech-bounces@ecs.soton.ac.uk on behalf of
mamalos@eng.auth.gr> wrote:

>Ian and Andrew,
>
>I think that one can import/export specific entries -if I'm not
>mistaken-, but I'm not exactly sure about the syntax. If it allows for
>ranges, the 100.000 entries problem may be addressed by just splitting
>the export/import process to more than one export/import operations. I
>have used this syntax to select specific eprints, but my syntax was
>something like the following:
>
>./bin/export archid archive XML 114 115 116 117 > /tmp/export1
>
>which would seem very peculiar if it would have to be used for thousands
>of records (I assume args would overflow!:)). Nonetheless, on the worst
>case where ranges are not allowed, the former syntax could be used
>successfully within a very carefully written script.
>
>
>On 01/07/2015 06:37 μμ, Ian Stuart wrote:
>> On 01/07/15 15: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?
>> In general (and as George says) the XML-with-files export is the way to
>>go.
>>
>> I discovered it falls over with 100,000 records, so I just copied the
>> database & attached a new eprints to it :D
>>
>
>
>--
>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
>
>
>
>*** 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/


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.