Hi Benoit
 
The procedure should be similar to the upgrade procedure for a new version.
 
I would suggest you use the same version of Fedora on the new server.  You
will need to ensure you use the same low-level storage configuration (ie
akubra-fs or legacy).
 
Set up and configure your new server with the same configuration as your old
server.  If you have XACML enabled this should include any policies that you
have added.
 
Start and stop the new server.
 
Either copy in the object and datastream stores from your old installation
to the same location in your new installation (two folders under
$FEDORA_HOME/data - the exact names of these will depend on whether you are
using Akubra or not); or edit Fedora's configuration to point to the two
stores from the old location.  For either case fedora.fcfg's configuration
for the module org.fcrepo.server.storage.lowlevel.ILowlevelStorage needs to
have object_store_base and datastream_store_base pointing to the object and
datastream stores.
 
Then (with Fedora stopped) use the rebuilder to (1) rebuild the SQL database
and (2) rebuild the resource index, and, if you are using FeSL (3) rebuild
the policy index.
 
(note that this part is not always included in the instructions for a
version upgrade as it is often possible to re-use the SQL database from the
old installation).
 
In theory it should always be possible to rebuild Fedora from scratch by
just using the object and datastream stores providing the same underlying
low-level storage configuration is used.
 
Regards
Steve
 
 
-----Original Message-----
From: Benoit Lanteigne [mailto:lant...@umoncton.ca] 
Sent: 09 May 2011 18:45
To: fedora-commons-users@lists.sourceforge.net
Subject: [fcrepo-user] Migrate Fedora to another server



Hi everyone,

I have been using the Fedora repository for a few months on a research
project. Now my boss wants to migrate our Fedora instance on another server
and asked me to look into how it can be done. I have found migration guides
that explain how to migrate between versions of fedora, but not how to
transfer the data between two instances of fedora. 

>From what I have seen so far, the solution seems to be to install Fedora
from scratch on the new server, then do a batch export on the old server and
import the resulting FOXML files on the new server. My problem is I'm not
sure if this is the best way to do this or not. If anyone has done this
before and can suggest a better alternative or confirm that this is the
correct method it would be greatly appreciated. Thank you for your help.

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to