Rolling back files moved during migration of Elvis 4 to Elvis 5
If the migration of content from Elvis 4 to Elvis 5 failed for some reason, you can roll back any Elvis 4 files that have moved to Elvis 5.
This article explains how this is done.
Step 1. Run the Migration tool by entering the following in the command line:
- For Mac OS and Linux: sudo java -jar elvis-migration-tool-x.x.x.jar
- For Windows: java -jar c:\elvis-migration-tool-x.x.x.jar
Note: The default port for the tool is 8080. To change the port, use the 'server.port' command line option:
Step 2. Access the Migration tool by entering the following URL in a Web browser:
Note: Make sure that the port number corresponds to the one that was specified in your command line.
Step 3. Access the Rollback tab and enter the following details:
- Elvis 5 Folder. The location of your Elvis 5 config/data folder.
Note: This field is pre-filled with the location of a default Elvis 5 installation, based on the operating system.
- Dump name The name of the dump which is to be rolled-back.
Note: This field is pre-filled with the name of the last dump.
- Move files. Select this option when you are going to move files back from the Elvis 5 storage to the Elvis 4 storage instead of copying them.
Note: Moving files is quicker than copying them.
Step 4. Click Start rollback.
Progress bars appear to indicate the progress of various steps of the process.
Step 5. After the process is completed, click Close.
Step 6. Verify that the files have been moved to your Elvis 4 data folder.
Step 7. (Optional) try migrating your files from Elvis 4 to Elvis 5 again.