Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A Sample Migration From 4→6

Step 1: Export from 4.7.

Make sure that your Fedora 4.7.5 instance is running.  Then run the following command:

Code Block
java -jar fcrepo-import-export-0.3.0.jar -b -d my-4.7.5-export -u fedoraAdmin -p fedoraAdmin -m export -r http://localhost:8080/rest

Step 2: Upgrade exported 4.7.5 to 5.1.1 export

Code Block
# create your destination directory for the upgrade
mkdir my-5.1.1-export
# upgrade
java -jar target/fcrepo-upgrade-utils-6.0.0-SNAPSHOT.jar -i my-4.7.5-export -o my-5.1.1-export -s 4.7.5 -t 5+


Step 3: Upgrade 5.1.1 export to  Fedora 6 compliant OCFL

Code Block
# create your destination directory for the upgrade
mkdir -p  my-fcrepo-6/data 

java -jar fcrepo-upgrade-utils-6.0.0-SNAPSHOT.jar -i my-5.1.1-export -o my-fcrepo-6/data -s 5+ -t 6+ -u http://localhost:8080/rest

Step 4: Fire up Fedora 6

Code Block
java -jar fcrepo-webapp-6.0.0-SNAPSHOT-jetty-console.jar -Dfcrepo.home=my-fcrepo-6