[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Re: Bulk export/import
From its documentation (perldoc ./bin/export) there doesn't seem to
support something like that. On the other hand, the documentation
mentions the option:
dataset: The name of the dataset to export, such as "archive",
"subject" or "user".
You could maybe "exploit" this option by moving some eprints from one
dataset to another and by exporting/importing each dataset separately
(and then moving the appropriate eprints where they really belong).
Haven't checked the source code, though, so maybe there's another
solution hidden somewhere there...:)
On 02/07/2015 02:56 ??, Andrew Beeken wrote:
> 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 at ecs.soton.ac.uk on behalf of
> George Mamalakis" <eprints-tech-bounces at ecs.soton.ac.uk on behalf of
> mamalos at 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
>>> 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.
> *** 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/
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