Validating the Migration Backup Using the CLI

You can use the validateMigrationBackup command to assess whether all data required for migration is contained in the specified backup archive (zip file), that is, whether the contained data is complete and no missing files will lead to failure in migration.

A validation response in the console informs on ERRORS and WARNINGS regarding the backup archive. You should check this before doing the migration.

You can execute the validation in production environment since it does not require a server restart.

The validateMigrationBackup command can be executed in interactive CLI mode only (refer to Interactive CLI Mode).

Call up

startcli [-u <user account>] [-p <password>]
...
validateMigrationBackup <path to the backup archive file>

The path must not contain spaces.

Example

startcli
CLI|root@localhost> validateMigrationBackup /home/user_1/Documents/Manual/backup3.zip
Source Version: 7.4.0.23
Validation Result:
ERRORS:
/home/user_1/Documents/Manual/backup3.zip/QA-Framework/workflow/webservices/version_data.xml.@@@.1 is missing for workflow webservices
/home/user_1/Documents/Manual/backup3.zip/QA-Framework/workflow/qa_xlsadapter_p1_00/version_data.xml.@@@.1 is missing for workflow qa_xlsadapter_p1_00
user.xml file is missing in backup zip in path /home/user_1/Documents/Manual/temp/QA-Framework/rka6kor
Module name folder missing for the module QA_Assign for user QA-Framework
WARNINGS:
__AS4 folder is not added in backup zip
/home/user_1/Documents/Manual/backup3.zip/QA-Framework/QA_Tester/module/qa_isconfig_errorsuppression-1/qa_isconfig_errorsuppression-1.xml is missing for module
qa_isconfig_errorsuppression-1/home/user_1/Documents/Manual/backup3.zip/QA-Framework/module/
qa_isconfig_errorsuppression/qa_isconfig_errorsuppression.xml is missing for module
qa_isconfig_errorsuppression/home/user_1/Documents/Manual/backup3.zip/QA-Framework/module/mux/version_data.xml.@@@.1 is missing for module mux
/home/user_1/Documents/Manual/backup3.zip/QA-Framework/module/mux/mux.xml.@@@.1 is missing for module mux
/home/user_1/Documents/Manual/backup3.zip/module/speicherauslastung@report@4797bf74_14ac9060432_-7c26/version_data.xml.@@@.1 is missing for module speicherauslastung@report@4797bf74_14ac9060432_-7c26