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
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] UserID's on import
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- Date: Wed, 10 May 2017 14:44:05 +0000
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 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 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> 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
*** 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/ |
- References:
- Re: [EP-tech] UserID's on import
- From: Adam Field <adam@adamfield.net>
- Re: [EP-tech] UserID's on import
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] UserID's on import
- Prev by Date: Re: [EP-tech] UserID's on import
- Next by Date: [EP-tech] EPrints with S3
- Previous by thread: Re: [EP-tech] UserID's on import
- Next by thread: [EP-tech] EPrints with S3
- Index(es):