How to enable Two-factor authentication (2FA) for the CubeBackup console login.
It is always important to do everything you can to improve your online account security. Two-factor authentication, also referred to as 2FA, provides an additional level of protection.
Enable 2FA for the CubeBackup login
- Log (or SSH) into your backup server.
Open the configuration file <installation directory>\etc\config.toml on the backup server using a text editor.
On Windows, the default installation directory is located at C:\Program Files\CubeBackup365.
On Linux, the default installation directory is located at /opt/cubebackup365.
In the [Web] section and change the value of
true. If your config.toml file doesn't contain a
TwoFactorAuthEnabledline, you will need to create one.
[Web] ... TwoFactorAuthEnabled = true ...
Restart the CubeBackup service using the following command.
Please run this command.
sudo /opt/cubebackup365/bin/cbsrv restart
Open a Command Prompt as Administrator, and run this command.
"C:\Program Files\CubeBackup365\bin\cbsrv.exe" restart
Open the Windows PowerShell as Administrator, and run this command.
& "C:\Program Files\CubeBackup365\bin\cbsrv.exe" restart
Please run this command to restart the container.
sudo docker restart <container-name>
After two-factor authentication has been enabled, an authentication code will be generated and sent to you by email as part of the CubeBackup console login process. You will need to check your mailbox and paste the authentication code into the dialog box that pops up.