It is possible to record the options chosen during ZCB installation. This recording can be used to install ZCB via the command line on other machines. Configuration can also be exported and imported via command line as well.
Command-line operations can be automated in many ways, such as batch files, Windows Powershell, and more. The exact automation process is beyond the scope of this article as the infrastructure will vary greatly from one site to the next.
ZCB must be installed and configured manually on at least one machine in order to create a record of installation and configuration options.
The following steps are required:
Log into your account and download the latest installer file.
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.
setup.exe /r /f1"Z:\Installation\Setup.iss"
The name 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.
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.
Ensure that the files necessary for installation and configuration are available on all machines on which ZCB will be installed. Each machine must have access to the following:
These files can be placed on a mapped network drive. They may also be copied to each machine manually or in an automated fashion using any method of your choice.
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.
Installation will be silent and invisible. There will be no feedback once the installation begins, and no windows will appear. 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 if the "Open ZCB after installation completes" option was selected in the initial recording. If not selected, the program can be launched via start menu or desktop shortcut.
On successful completion of the import process, open the ZCB UI to make sure that all the backup sets, their respective schedules and configurations such as Backup Folder, Local & Cloud Retention period, Compression, etc are correctly imported to the new machine.