-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Dolsy Smith edited this page Feb 27, 2026
·
2 revisions
- Attach the EBS volume to the EC2 instance (AWS console)
- Mount the volume
-
lsblkto identify the volume. (Assumingxvdeis the volume name in what follows) -
sudo mkfs -t xfs /dev/xvde(If using a new volume) -
sudo mkdir /data/migration(Mount point) -
sudo mount /dev/xvde /data/migration(Mount volume)
-
- Clone migration tools repo
git clone https://github.com/gwu-libraries/fcrepo_migration_tools.git
- Install Java 11, create export directory, set permissions
cd fcrepo_migration_toolsbash migrate.sh install
- Run initial export (this exports everything at the
rest/prodendpoint, skipping audit files)tmuxbash migrate.sh export- [crtl-b-d to detach terminal session
- monitor Fedora Docker logs for progress
- Finish export, removing audit paths
bash ./migrate.sh export_restdocker build -t fcrepo_pytools -f Dockerfile-pytools .docker run --rm -v /data/migration/fedora-4.7.5-export:/data fcrepo_pytools remove-audits --ttl /data/rest.ttl