<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>If you open the XML file, you'll see that it has a path in the file section of the document. If you modify that path to point to somewhere local, then put a copy of the file in that place, it should work.</div>
<div><br>
</div>
<div>What are you actually trying to accomplish. Is this a step in a bigger job? What's the bigger job?</div>
<div><br>
</div>
<div><span style="font-size: 11pt;"> </span></div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="font-family: Calibri;">
<tbody>
<tr>
<td valign="top" style="border-style: solid none none; border-top-color: rgb(44, 56, 65); border-top-width: 1pt; padding: 0cm 0cm 3pt;">
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<a href="http://www.jisc.ac.uk/" style="color: rgb(149, 79, 114);"><span style="font-size: 12pt; font-family: 'Times New Roman', serif; color: blue; text-decoration: none;"><img border="0" width="60" height="35" id="Picture_x0020_1" src="cid:77A9AC92-A9AF-43DB-93F7-D1DFC936B8E9" alt="Jisc" type="image/png"></span></a><span style="font-size: 12pt; font-family: 'Times New Roman', serif;"><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td valign="top" style="padding: 7.5pt 0cm 0cm;">
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;">
<b><span style="font-size: 12pt; font-family: Corbel, sans-serif; color: rgb(44, 56, 65);">Adam Field</span></b><span style="font-size: 12pt; font-family: 'Times New Roman', serif;"><br>
</span><span style="font-size: 12pt; font-family: Corbel, sans-serif; color: rgb(44, 56, 65);">SHERPA services analyst developer</span></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span><<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>> on behalf of "<a href="mailto:holger.berth@mdc-berlin.de">holger.berth@mdc-berlin.de</a>" <<a href="mailto:holger.berth@mdc-berlin.de">holger.berth@mdc-berlin.de</a>><br>
<span style="font-weight:bold">Reply-To: </span>"<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>" <<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>><br>
<span style="font-weight:bold">Date: </span>Monday, 25 April 2016 10:48<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>" <<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [EP-tech] problem migrating documents<br>
</div>
<div><br>
</div>
<span style="mso-bookmark:_MailOriginalBody">
<div>
<div>
<div>Hi Thomas,</div>
<div><br>
</div>
<div>i have exported one publication with</div>
<div><br>
</div>
<div><br>
</div>
<div>bin/export edoc eprint XML 15166 > 15166.xml</div>
<div><br>
</div>
<div>and imported it into the new system</div>
<div><br>
</div>
<div>bin/import edoc eprint XML --enable-file-imports --enable-import-fields</div>
<div>--force --verbose /home/user/15166.xml</div>
<div><br>
</div>
<div>But if i export the publication from the new system, the file entry is not</div>
<div>in the xml file.</div>
<div><br>
</div>
<div>I think this does not overwrite the data. Or do i have to start a another</div>
<div>script after importing?</div>
<div><br>
</div>
<div>Best,</div>
<div>Holger</div>
<div><br>
</div>
<div>-----Ursprüngliche Nachricht-----</div>
<div>Von: <a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a></div>
<div>[<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">mailto:eprints-tech-bounces@ecs.soton.ac.uk</a>] Im Auftrag von Thomas Lauke</div>
<div>Gesendet: Freitag, 15. April 2016 11:19</div>
<div>An: <a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a></div>
<div>Betreff: Re: [EP-tech] problem migrating documents</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>what is the best way to migrate the documents.</div>
</blockquote>
<div>hard to say, depends on many boundary conditions</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>I only copied (rsync) the documents from one server to the next, </div>
<div>imported the mysql database and started the upgrade with "epadmin upgrade</div>
</blockquote>
<div>reponame"</div>
<div>could work, if all paths for eprint stuff are exactly the same; 'upgrade' is</div>
<div>an independent issue Of course, the most easy way!</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>How can i export all without documents?</div>
</blockquote>
<div>export repoID eprint XML <badID0..badIDn> will do that by default settings</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>And how can import this</div>
</blockquote>
<div>import repoID eprint XML --enable-file-imports --enable-import-fields</div>
<div>updatedPipedExportFile overwrites even existing entries ...</div>
<div><br>
</div>
<div>Check if a correction of bad entries is useful, otherwise start from</div>
<div>scratch.</div>
<div>Testing on a sandbox is _no_ bad idea :)</div>
<div><br>
</div>
<div>Hand</div>
<div>Thomas</div>
<div>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a></div>
<div>*** Archive: <a href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a></div>
<div>*** EPrints community wiki: <a href="http://wiki.eprints.org/">http://wiki.eprints.org/</a></div>
<div>*** EPrints developers Forum: <a href="http://forum.eprints.org/">http://forum.eprints.org/</a></div>
<div><br>
</div>
</div>
</div>
</span></span>
<font size="1"> <font face="Corbel"> <br />
Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.<br /><br />
Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.
</font></font></body>
</html>