Backup

This information Applies to TeamHeadquarters version 5.x only.

 

THQBackup.exe

Syntax

THQBackup[.exe] /D /S /IS /IIS /R [:YYYYMMDD] /F:<filename>

 

Parameters

/D

Backup the TeamHeadquarters database objects. Mutually exclusive with "/S"

/S

Backup the TeamHeadquarters executable files. Mutually exclusive with "/D"

/ID:"id"

Assigns a unique id to the backup contents. Typically used to relate a schedule item with a backup file. Optional.

/RESET

Resets the NTFS archive bit to indicate the object has been backed up. Generally used in conjunction with the incremental backup settings.

/R

Backup the Windows Registry keys used by TeamHeadquarters.

/F:"filename"

Specifies the name of the backup file. The 'CXD' extension will be automatically added by the backup utility.

/C

Specifies that the contents of the backup file are to be compressed. The default behavior is to leave the data uncompressed. Compressing the data consumes slightly more cpu resources, but delivers a much smaller backup archive.

/O

Specifies that the backup file is to be overwritten if it already exists. The default behavior is to fail if the file already exists.

/N:"name"

Allows addition of a descriptive name to the backup file contents. If not specified, a name will be generated with the backup execution date, and the list of parameters used to create the backup.

 

Examples

Click the heading to toggle the display of the sample code

Backup registry settings.

THQBackup /R /F:RegistryBackup

Backup system files and registry settings. Compress the contents in the backup file.

THQBackup /S /R /C /F:SystemBackup

Backup database. Overwrite the file if it already exists.

THQBackup /O /F:DatabaseBackup