Jump to content
Wiki Home
EPrints Home
Bazaar
Files
Main menu
Main menu
move to sidebar
hide
Navigation
Front Page
EPrints 3 Manual
EPrints Training Course
EPrints Glossary
Installing EPrints
How-to Configure EPrints
EPrints 3.2+ API
EPrints 3 Reference
EPrints Plugins
Wiki
All categories
Recent changes
Main Page
Help
EPrints Documentation
Search
Search
Appearance
Log in
Request account
Personal tools
Log in
Request account
Pages for logged out editors
learn more
Contributions
Talk
Editing
How to combine or migrate servers
Page
Discussion
British English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
#REDIRECT [[Moving a repository]] [[Category:Howto]] [[Category:Management]] From http://www.eprints.org/tech.php/thread-1666.html Migration of archives from one server to another is relatively simple. What you will need to copy.... (for archive "xxxx") /opt/eprints2/archives/xxxx.xml (this is your basic config. for the archive, such as it's id, url and database) /opt/eprints2/archives/xxxx/documents/ This is where all the actual pdf's etc are stored. Be careful, if you used any symlinks, to copy the files and not just the symlink. /opt/eprints2/archives/xxxx/cfg/ This is the rest of the archive configuration. plus the SQL database which can be exported from mysql by doing mysqldump xxxx -u xxxx -p > backup.sql (or whatever mysql user is appropriate if not xxxx) You will be prompted for the password. If you can't remeber the name of your database or the user & pass look in /opt/eprints2/archives/xxxx.xml The easiest way to create the new database on the new eprints install, and get the permissions right, is to: * Copy over all the static files described above. * Run configure_archive xxxx, keep pushing return to keep the current options but then choose 'yes' to create the database. * copy backup.sql to the new machine * run on the new machine: mysql xxxx -u xxxx -p < backup.sql You *can* also copy over the /opt/eprints2/archives/xxxx/html/ directory if you want to save having to rerun things like generate_static and generate_abstracts etc. bin/generate_static xxxx bin/generate_abstracts xxxx bin/generate_views xxxx bin/generate_apacheconf Then TEST TEST TEST!
Summary:
Please note that all contributions to EPrints Documentation may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
EPrints Documentation:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)