← cyphonix.comSign in to the console
Cyphonix Backup

Home › Documentation › Agents › Linux (deb)

Linux agent (Debian and Ubuntu)

Applies to Debian 11 and 12, and Ubuntu 20.04, 22.04 and 24.04 LTS, on x86-64 and ARM64.

Install from the repository

curl -fsSL https://updates.backups.cyphonix.com/apt/cyphonix.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cyphonix.gpg
echo "deb [signed-by=/usr/share/keyrings/cyphonix.gpg] https://updates.backups.cyphonix.com/apt stable main" | sudo tee /etc/apt/sources.list.d/cyphonix.list
sudo apt update
sudo apt install cbk-agent

The signing key fingerprint is published on the checksums page.

Install from a package

Download the .deb from the console and run:

sudo apt install ./cbk-agent_4.6.2_amd64.deb

Register

sudo cbk enrol --key CBK-ENR-XXXX-XXXX-XXXX --name "$(hostname -s)"

Files and service

ItemLocation
Binary/usr/bin/cbk, /usr/lib/cyphonix/cbk-agent
Configuration/etc/cyphonix/cbk-agent.conf
Cache/var/lib/cyphonix/cache
Logs/var/log/cyphonix/agent.log
Servicecbk-agent.service
sudo systemctl status cbk-agent

Sources

Nothing is backed up until you add sources. A typical server configuration:

sudo cbk config add sources.include /etc
sudo cbk config add sources.include /home
sudo cbk config add sources.include /srv
sudo cbk config add sources.include /var/www

Use the recommended Linux exclusions if backing up /.

Snapshots

If the source is on LVM and the volume group has free extents, the agent creates a temporary snapshot sized at 10% of the logical volume. Set snapshot.lvm_size_percent to change this. Without LVM, files are read live.

Updates

With the repository configured, the agent is updated by apt along with the rest of the system and its own updater is disabled. If you installed from a package, the agent updates itself.

Last reviewed: · Report a problem with this page