Page tree
Skip to end of metadata
Go to start of metadata


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:

Record an Installation

Step 1: Download the installer

Log into your account and download the latest installer file.


The Carbonite-Server-Backup-4.12.exe file has been downloaded to Y:\.

Step 2: Extract the setup files

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

Step 3: Ensure that the Java Runtime Environment is installed

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.

Step 4: Start installation and create a recording

  1. Open an elevated command prompt using the Run As Administrator option. 
  2. Change directories to the folder where you extracted the installer. There will be two folders located inside the directory where you extracted the installer, one containing the 32bit installer and another for the 64bit installer. 
  3. Change directory to the folder that matches your system.
    1. For example, you'll need to change to the 32bit installation folder if you are on a 32bit machine.
  4. Enter the following command 
    1. setup.exe /r /f1"<Path to some folder>\Setup.iss"
    2. The filename or path inside the parentheses can be changed to suit your needs.

    3. Make sure that the folder where you choose to create Setup.iss exists before installation begins. 
  5. The ZCB installation wizard will appear. 

  6. 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\

Installation complete!

Configure Backup Sets and Export the Configuration

Step 1: Configure one or more backup sets

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.

Step 2: Export backup set configuration

  1. Close ZCB if it is open.
  2. Open a command prompt.
  3. Change directories to the \bin\ folder in the directory where ZCB is installed.
    1. By default, this is C:\Program Files\Zmanda\Zmanda Cloud Backup\bin\
  4. Run the following command
    1. Export_ZCBConfiguration.bat C:\Export_Folder
    2. You may replace C:\Export_Folder with any directory of your choice. The configuration will be exported as a zip file to this location.
  5. A file named will be found in the folder you choice after the export process is complete.


Start export.

Export complete!

Prepare Other Machines for Installation

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:

  1. The installation recording. In our examples, this file is named Setup.iss.
  2. All of the files extracted from the installer, including the setup.exe files for 32-bit or 64-bit CSB.
  3. The file that was created when configuration was exported.

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.

Use the Installation Record to Install ZCB

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.

Installation complete!

Import the Backup Set Configuration

  1. Wait for installation to complete.
  2. Make sure the ZCB user interface is closed.
    1. The ZCB user interface process is named javaw.exe. If necessary for automation purposes, this process can be killed via command line.
  3. Open a command prompt.
  4. Change directories to the \bin\ folder in the directory where ZCB is installed.
    1. By default, this is C:\Program Files\Zmanda\Zmanda Cloud Backup\bin\
  5. Run the following command
    1. Import_ZCBConfiguration.bat C:\Export_Folder
    2. Replace C:\Export_Folder with the folder path that contains the file 

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.

Import complete.

Backup sets successfully imported! When CSB is next opened, the backup sets will be available.