How to encrypt the configuration files of my CubeBackup instance.


For privacy and security reasons, CubeBackup will now encrypt your storage settings and other configuration files, so that potentially vulnerable information is no longer available to intruders or anyone with physical access to your backup server.

Encrypt configuration files

Starting from version 1.1, these files will be encrypted automatically during the initial setup. For installations upgraded through the console, or versions prior to 1.1, please follow the step-by-step instructions below:

  1. Log in to or SSH to your CubeBackup server.
  2. Run the cbackup encryptConfigFiles command in the <installation directory>\bin folder.

    NOTE: This operation requires special privileges.
    For Windows users, open a Windows Command Prompt or Powershell as Administrator.

    "C:\Program Files\CubeBackup365\bin\cbackup.exe" encryptConfigFiles

    For Linux or Docker users, please use sudo -u cbuser… in the bash shell.

    sudo -u cbuser /opt/cubebackup365/bin/cbackup encryptConfigFiles
  3. Now your configuration files are safely encrypted on your server, and cannot be used by any other user except the CubeBackup program.