The output file will be a .qcp extension file.
Restoring a .qcp file that is smaller than 2GB is a straight forward process. As below screenshot just selecting Create Project and then checking the last option will be enough. In the next entry i am going to describe how to restore a qcp project file that is bigger than 4GB.
If you are managing an important QC project, making this backup process as a scheduled job is a good option rather than backing up database scheme and file system. You can use following VB code and define a scheduled job on Windows Task Manager that triggers this script. To make sure that this code runs on your host first you have to open the siteadmin and qc application to install the client components like OTAClient and SAClient.
By using this script you can define the domains and projects those you want to back up. Before starting the backup process the script opens a defect on a different project (SUPPORT:QC_BackupProject). When the job completes the defect will be Fixed and Closed and then the alarm mail will be sent. The script must be copied on the backup server and a scheduled task must be defined by using Windows Task Manager.
To manage the old backup files you can define another job for the following script (deletes qcp files those are older than 10 days). To accomplish this you have to put this piece of code in a batch file and define another scheduled job that calls this batch file. forfiles.exe executable file must be in the same directory with the batch file.
Sometimes the qcp file may not be downloaded to the client that runs siteadmin panel. For this case you've to check the QC app server for the qcp file. It should be located on this path: <<<InstallationPath>>>\HP\ALM\repository\export\export<<<timestamp>>>.qcp