EPrints Technical Mailing List Archive

Message: #06480


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

Re: [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@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of John Salter
Sent: 10 May 2017 15:30
To: eprints-tech@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!

 

Cheers,

john

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Adam Field
Sent: 10 May 2017 15:19
To: eprints-tech@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@ecs.soton.ac.uk> on behalf of Andrew Beeken <anbeeken@lincoln.ac.uk>
Reply-To: <eprints-tech@ecs.soton.ac.uk>
Date: Wednesday, 10 May 2017 15:13
To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@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!

 

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/