05-03-2007, 05:01 PM
(This post was last modified: 05-21-2008, 01:19 PM by ToyMaster458.)
I have redone version 1 and changed over to VBScript for more features. This script will Stop the CQC Service and backup the CQC directory to a directory in form of a zip file or using Windows native NTBackup with the Host Name, date, time and CQC Version of the backup and then restart the CQC Service.
To use the 7-Zip feature of this script you need a free file archiver installed on the system and can be downloaded at http://www.7-zip.org with no command line switches.
To use the WinZip feature of this script you will need the Command Line Add-on a long with WinZip installed on the system and can be downloaded from http://www.winzip.com/downcl.htm. I have found this to be faster then 7-Zip
The default Backup Path is where the script is located.
Optional Command Switches
Error Results
Filename
Current Version 2.0
Version Notes:
1.0 - First Public Release
2.0 - Redone in VBScript, added host name and CQC version to backup file
Download
http://www.kanak.com/Store/proddetail.as...DCQCBackup
To use the 7-Zip feature of this script you need a free file archiver installed on the system and can be downloaded at http://www.7-zip.org with no command line switches.
To use the WinZip feature of this script you will need the Command Line Add-on a long with WinZip installed on the system and can be downloaded from http://www.winzip.com/downcl.htm. I have found this to be faster then 7-Zip
The default Backup Path is where the script is located.
Optional Command Switches
- /m:['7'=7-Zip,'w'=WinZip,'n'=NTBackup] Defaults to /m:7
- /d:[Destination Path] Defaults to current path
- /r:[Restart 'y' or 'n'] Defaults to /r:y
- /s Silent Run
- /? Switch Options
Error Results
- 0 = Sucessfull
- 1 = Unable to stop CQC Service
- 2 = Backup Failed
- 3 = Unable to start CQC Service
Filename
- CQCBackup_[HostName]_[Year][Month][Day]_[Hour][Minute][Second]_v[Version]
Current Version 2.0
Version Notes:
1.0 - First Public Release
2.0 - Redone in VBScript, added host name and CQC version to backup file
Download
http://www.kanak.com/Store/proddetail.as...DCQCBackup