Clokeep can encrypt your backups before they leave your server. The agent encrypts each archive with the platform's public key, then uploads it. Only the platform's key opens it again.
The panel shows for every backup whether it is encrypted, and for every plan whether its next backups will be.
Prerequisites
- To turn encryption on: the Admin role. Every member can see whether a backup or a plan is encrypted.
- An encryption key set up by Clokeep. Without it, the switch is greyed out.
Who turns encryption on
Two switches encrypt new backups. Either one is enough:
- Clokeep's switch encrypts the new backups of every client. Your Encryption page then reads "The platform encrypts every client's new backups."
- Your client's switch, Encrypt new backups, encrypts the new backups of every plan in your client. You can turn it on while Clokeep's switch is off.
Both use the platform's key. Clokeep holds that key, not you.
Turn on encryption for your client
Backups are encrypted with a key the platform holds, not you. Restores and downloads of encrypted backups need that key: if the platform loses it, those backups cannot be restored. Existing backups stay as they are; only new backups are encrypted.
Open the Encryption page
As an Admin, open Settings and choose Encryption.
Turn it on
Switch on Encrypt new backups. Read the warning Before you turn this on: it is the text above.
Save
Click Save changes. An Encryption saved message appears. Every plan of your client encrypts its backups from its next run on.
The switch is greyed out, with "Encryption is not available: the platform operator has not set up an encryption key.", while Clokeep has no key for clients to use. During a support session it reads "Can't be changed while signed in as someone else."
Switching it off stops encryption for the next runs. Backups made while it was on stay encrypted. Each change is recorded in the Audit Log.
Where you see it
- Browse Backups, and My Backups for a Customer: each backup in Artifacts is marked Encrypted or Not encrypted. Hover over the mark for what it means.
- The run page: once a run has stored backups, Encryption reads Encrypted, Not encrypted, or for example "2 of 3 backups encrypted". Under it, "Platform's key", or "Platform's key, file list included" when the file lists are encrypted too. A restore run shows this for the backup it restores.
- The plan's page: under Storages, a line says whether new backups are encrypted, and by which switch: "New backups are encrypted with the platform's key (platform-wide setting).", "(this client's setting)" or "New backups are not encrypted."
- Plans: the Encrypted column shows a closed lock for a plan whose next backups will be encrypted. Hover over it for the same line.
- The API: each backup has
encryptedandfile_list_encrypted, and each planencrypts_new_backups. See the API reference.
What an encrypted backup can do
- Restore: works as usual. The agent downloads the backup and decrypts it on your server. See Restore files, email and databases.
- Download the whole backup: you get the encrypted file, as stored. The panel does not decrypt it.
- Download or share one file or folder: not possible. The panel reads "This backup is encrypted, so single files cannot be extracted in the panel. Restore it through the agent instead." See Download and share.
- The Backups page in Plesk or cPanel: encrypted backups cannot be downloaded there.
- Browse: works. You see the files and folders as for any backup.
An encrypted backup needs room on the server for a second copy of the archive while it uploads. See Install the agent.
Encrypted file lists
Next to each archive, the agent uploads its file list, the index. From agent 3.3.0, an encrypted backup's file list is encrypted too. The panel decrypts it with the platform's key when you browse the backup.
- An older agent keeps writing a plain file list, even for an encrypted backup. Update the agent to encrypt it. See Agent updates.
- Once a plan's backups have encrypted file lists, an older agent cannot read them. A restore that needs one fails when the agent picks it up: "This backup's file index is encrypted, which the agent on this server is too old to read. Update the agent, then run the restore again." An incremental backup that builds on them fails with "This plan's earlier backups have an encrypted file index, which the agent on this server is too old to read. Update the agent, then run the backup again, or run a full backup."
- The agent keeps a key of its own in its work directory to read the file lists of its own incremental chains. If that directory is lost, for example when the agent is reinstalled, the next incremental backup of an encrypted plan fails with a message that ends "run a full backup to start a new chain". Click More actions > Run full backup now on the plan's page. See Incremental backups.