- First of all we need to reduce the project size. You can add following lines in this script just before exporting the project. Caution: Be carefull while moving the repository files the project must be deactivated. Otherwise smart repository builder job will link the rep files to invalid objects.
- This piece of code is going to cut and paste the repository folder to temporary folder. After export process finishes put back the rep folder to it's original directory. Do not activate the project until you put back the repository folder to it's original location. Otherwise smart repositoy orginizer job will start to work and going to update the smart_repository_logical_file and smart_repository_physical_file tables. It will be safe to check the SMART_REPOSITORY_LOGICAL_FILE and SMART_REPOSITORY_PHYSICAL_FILE table data still shows the correct files.
- Of course you've to define v_tempPath (whereever you have available on network or on disk) and v_repDirectory (the repository path of the project) in the beginning of the script.
- You can get the repository folder backup with the following batch commands. I am assuming you are using 7-zip command line version.
Thursday, June 20, 2013
Exporting QC Projects bigger than 4GB
Exporting projects those are bigger than 4GB from siteadmin is a known limitation of QC 11.00. Fixing this limitation is being traced under enhancement request: QCCR1J17611. Until HP publishes a fix for this limitation you can use following steps for exporting big QC projects. I've described here how to restore these backups.