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

[EP-tech] UserID's on import

Yeah, I?m not ready to import files yet! Just building my method and making sure the metadata is intact on import. I?ll use the more granular method of importing for the time being.

From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of John Salter
Sent: 10 May 2017 15:30
To: eprints-tech at ecs.soton.ac.uk
Subject: Re: [EP-tech] UserID's on import

Everyone's quick off the mark today :o)

Just thought a little more explanation might be useful:
The migration option /is/ possibly what you want, but will set the following (from the source of bin/import):
if( $migration )
        $force = 1;
        $enable_file_imports = 1;
        $enable_web_imports = 1;
        $enable_import_fields = 1;

Understanding the effect of these options before using '--migration' is advised!


From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Adam Field
Sent: 10 May 2017 15:19
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Subject: Re: [EP-tech] UserID's on import

Use the ?migration flag.  It?ll preserve IDs and other things that need preserving.

From: <eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk>> on behalf of Andrew Beeken <anbeeken at lincoln.ac.uk<mailto:anbeeken at lincoln.ac.uk>>
Reply-To: <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
Date: Wednesday, 10 May 2017 15:13
To: "eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>" <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
Subject: [EP-tech] UserID's on import

Hello all!

Still working on my EPrints migration. I?m trying to import an XML file with user details contained, however I?m hitting a bit of a stumbling block ? the import seems to be wanting to assign the users their own ID rather than use the one that is in the XML file which means that certain relationships between users and records seem to be out of sync. Is this a thing or am I imagining it? Is there a command on the import I need to include that I?m perhaps missing? Any thoughts would be most welcome!


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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170510/b0e8e667/attachment-0001.html