Validate the Copied Content
This step is required to make sure the previous step of copying content was successful and accurate.
* 
Before validating the copied content, configure Amazon S3 cloud service by running the following command in the Windchill shell:windchill com.ptc.windchill.objectstorage.amazons3.tools.S3ConfigurationTool configure -u <username> -p <password>
1. Run the data validation utility, DataMigrationVerificationTool, to assert the copied contents on Amazon S3. This tool allows you to compare contents of existing vault to file structure on Amazon S3. You can run the tool on main Windchill and also for remote installations. Run the following at the Windchill shell:
windchill wt.fv.tools.datamigration.DataMigrationVerificationTool validateMigratedData -r <srcRootFolderName> -t <targetMountType> -m <targetMountPath> -u <userName> -p <password>
For help, run the tool with -h parameter. Following are the optional parameters:-f <srcSubFolderName>-s <skipSizeValidation>-h <Help>
2. On execution, the tool provides the location at which the report is saved. In this report, you can view a list of all the missing files or information about file size mismatch for each folder. The report always gets generated on main installation. You can choose to run validation, if the whole root folder or only selected sub-folder by specifying --rootFolderName or --folderName. You can skip performing file size validation, by adding --skipSizeValidation.
For examples:
To validate all data in root folder named defaultuploadrootfolder:
windchill wt.fv.tools.datamigration.DataMigrationVerificationTool validateMigratedData -r defaultuploadrootfolder -t amazonS3 -m Testbucket/defaultuploadvault -u userName -p password
Was this helpful?