It is possible to record ZCB installation and export backup set configuration.
Once created, the installation recording and exported backup set configuration can be used to install ZCB via the command line on any number of other machines.
Command-line operations, including ZCB installation, can be automated. Windows Powershell, batch scripts, Group Policies, and more can all be used for automation purposes.
The steps below can be used to build automated, large-scale rollouts of pre-configured ZCB installations to any number of machines. However, the exact automation process is beyond the scope of this article.
The following steps are required:
Log into your account and download the latest installer file.
The Carbonite-Server-Backup-4.12.exe file has been downloaded to Y:\.
Do not run the installer by double-clicking. Instead, use a zip program, such as 7-zip, to open the installer, and extract the contents to a directory of your choosing.
Two folders will be extracted: one for 32-bit ZCB, and another for 64-bit ZCB.
The contents of Carbonite-Server-Backup-4.12.exe have been extracted to Y:\InstallationFiles
ZCB requires that the Java Runtime Environment be installed on the system prior to installation. To ensure a clean recording, please install the Java Runtime Environment before installation of ZCB begins.
Please see How to Install the Java Runtime Environment for more information.
setup.exe /r /f1"<Path to some folder>\Setup.iss"
The filename or path inside the parentheses can be changed to suit your needs.
The ZCB installation wizard will appear.
Proceed through the entire installation process.
The choices you make during installation will be recorded. Take care to make choices that are generic and match the expected configuration of the other machines on which you plan to install ZCB.
For example, you should not record an installation to a folder on the E:\ drive if not all machines will have an E:\ drive.
Disable the "Open ZCB after installation completes" option during installation.
The last step in command-line installation and configuration, "Import the Backup Set Configuration", requires that the user interface be closed. If this option is not disabled, the user interface will open after installation and must be closed somehow (manually or by killing the process) before Import can proceed.
The 64-bit version of ZCB will be installed, and the Setup.iss recording file will be created in Y:\InstallationRecording\
Open ZCB and configure one or more backup sets.
As with the installation, take care to make choices that make sense for the other machines on which you plan to install ZCB. When in doubt, stick to the defaults, as they represent the settings that work for most users.
Save each backup set after configuration. When you are done configuring all backup sets, exit the program.
Two backup sets, a File System backup and a System State backup, were configured and saved.
Ensure that the files necessary for installation and configuration of ZCB are available on all machines on which ZCB will be installed. For example, these files can be placed on a mapped network drive. They may also be copied to each machine using any method of your choice.
Each machine must have access to the following:
The Java Runtime Environment must also be installed on each machine prior to ZCB installation. Please see How to Install the Java Runtime Environment for more information.
All files are available on a network share. The share has been mapped as the Y: drive for easy access.
Start the installation using the following command.
<Path to>\setup.exe /s /f1"<Path to>\Setup.iss"
Replace <Path to> with actual path to the setup.exe and Setup.iss files. The setup.exe file is found within the extracted setup files. There will be separate setup.exe files for 32bit and 64bit installations. You must provide the path to the correct setup.exe file.
For example, if you extracted setup.exe to C:\CSB\Install\Carbonite-Server-Backup-4.11-64bit\ and Setup.iss to C:\CSB\Install\SetupRecording\, then command would be:
C:\CSB\Install\Carbonite-Server-Backup-4.11-64bit\setup.exe /s /f1"C:\CSB\Install\SetupRecording\Setup.iss"
Installation will be silent and mostly invisible. An InstallShield setup window may appear in the task bar. Other than that, there will be little feedback once the installation begins.
The command prompt will immediately be available for other commands. If you wish for the command prompt to wait until setup is complete, use this command instead.
start /WAIT <Path to>\setup.exe /w /s /f1"<Path to>\Setup.iss"
With either command, the setup.exe process will be visible in Task Manager, and an installation log file will be created in the directory where Setup.iss is located.
ZCB will open automatically once installation is complete, if the "Open ZCB after installation completes" option was selected in the initial recording.
Start installation via command line.
Installation in progress. The Task Manager has been opened to show the setup.exe process.
After completion of the import process, open the ZCB UI to make sure that all the backup sets and their respective configurations are complete.
Start the import from the command line.
Backup sets successfully imported! When CSB is next opened, the backup sets will be available.