EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #06392
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Dissecting the Documents folder
- To: <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Dissecting the Documents folder
- From: Adam Field <adam@adamfield.net>
- Date: Wed, 29 Mar 2017 11:55:52 +0100
Hi Andrew If it were anyone but you, I’d recommend doing a mysqldump and keeping all paths the same as the simplest way to migrate a repository. However, I’m sure you’ll counter that with “…but my repository is non-standard and I’m trying to make it standard” When I’ve had to monkey around with paths in XML files, I’ve usually done it with vim and find/replace commands. Move the documents directory to the new server into a temporary directory, then compare the path in the XML file to the path on disk. This will help you understand what string replacement you need to do. The command will be something like: :%s/\/usr\/share\/eprint3\/archives\/foo\/documents/\/home\/anbeeken\/migration\/documents/g ...it may take some time to run. -- Adam From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Andrew Beeken <anbeeken@lincoln.ac.uk> Hi all, I’m looking into the best options for migrating EPrints to a new server and investigating the possibility of pulling our 43.6Gb worth of documents across so as not to embed them in XML and create large files. I know that I can bring the Documents folder over, however I’m not sure how to interpret the folder structure to rewrite the URL’s in the XML export. Any thoughts? 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/ |
- Prev by Date: [EP-tech] Dissecting the Documents folder
- Next by Date: Re: [EP-tech] Dissecting the Documents folder
- Previous by thread: [EP-tech] Dissecting the Documents folder
- Next by thread: Re: [EP-tech] Dissecting the Documents folder
- Index(es):