...
Make sure that your Fedora 4.7.5 instance is running. Also be sure that you are using v0.3.0 the latest version of the import export tool: ie fcrepo-import-export-0.3.0.jar! . Then run the following command (swapping in appropriate local values):
Code Block |
---|
|
java -jar fcrepo-import-export-0.3.0.jar -b \
-d-dir my-4.7.5-export \
-u-user fedoraAdmin:fedoraAdmin \
-m-mode export \
-r-resource http://localhost:8080/rest \
--binaries \
--versions |
...
Code Block |
---|
|
java -jar fcrepo-upgrade-utils-<latest version>.jar \
--input-idir my-4.7.5-export \
--output-odir my-5.1.1-export \
-s-source-version 4.7.5 \
-t-target-version 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-home
java -jar fcrepo-upgrade-utils-<latest-version>.jar \
--iinput-dir my-5.1.1-export \
--ooutput-dir my-fcrepo-6-home \
-s-source-version 5+ \
-t-target-version 6+ \
--base-uuri http://localhost:8080/rest |
...
- Export your Fedora 5.1.1 repository to disk using the latest version of the Fedora Import Export Tool v1.0.1.
- Upgrade the Fedora 5.1.1 export to Fedora 6 compliant OCFL using the latest release of the Fedora Upgrade Utility
- Start up your Fedora pointing to the newly created OCFL in the previous step.
...
Make sure that your Fedora 5 instance is running. Also be sure that you are using v1.0.0 the latest version of the import export tool. Then run the following command:
Code Block |
---|
|
java -jar fcrepo-import-export-1.0.0.jar -b \
-d-dir my-5.1.1-export \
-u-user fedoraAdmin:fedoraAdmin \
--mmode export \
--rresource http://localhost:8080/rest \
--binaries \
--versions |
...
Code Block |
---|
|
java -jar fcrepo-upgrade-utils-<latest-version>.jar \
--input-idir my-5.1.1-export \
--ooutput-dir my-fcrepo-6-home \
--source-sversion 5+ \
--target-tversion 6+ \
--ubase-uri http://localhost:8080/rest |
...