EPrints Technical Mailing List Archive

Message: #05595

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

Re: [EP-tech] problem migrating documents

Hi Thomas,

i have exported one publication with

bin/export edoc eprint XML 15166 > 15166.xml

and imported it into the new system

bin/import edoc eprint XML --enable-file-imports --enable-import-fields
--force --verbose /home/user/15166.xml

But if i export the publication from the new system, the file entry is not
in the xml file.

I think this does not overwrite the data. Or do i have to start a another
script after importing?


-----Ursprüngliche Nachricht-----
Von: eprints-tech-bounces@ecs.soton.ac.uk
[mailto:eprints-tech-bounces@ecs.soton.ac.uk] Im Auftrag von Thomas Lauke
Gesendet: Freitag, 15. April 2016 11:19
An: eprints-tech@ecs.soton.ac.uk
Betreff: Re: [EP-tech] problem migrating documents

> what is  the best way to migrate the documents.
hard to say, depends on many boundary conditions

> I only copied (rsync) the documents from one server to the next, 
> imported the mysql database and started the upgrade with "epadmin upgrade
could work, if all paths for eprint stuff are exactly the same; 'upgrade' is
an independent issue Of course, the most easy way!

> How can i export all without documents?
export repoID  eprint XML <badID0..badIDn> will do that by default settings

> And how can import this
import repoID eprint XML --enable-file-imports --enable-import-fields
updatedPipedExportFile overwrites even existing entries ...

Check if a correction of bad entries is useful, otherwise start from
Testing on a sandbox is _no_ bad idea :)

*** 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/

Attachment: smime.p7s
Description: S/MIME cryptographic signature