Dattobd
Jump to navigation
Jump to search
Datto Block Driver is a kernel module for taking block-level snapshots and incremental backups of Linux block devices. It provides functionality similar to VSS on Windows, but on any block device.
References
Install
On Ubuntu, see INSTALL.md:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 29FF164C
echo "deb https://cpkg.datto.com/repositories $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/datto-linux-agent.list
sudo apt-get update
sudo apt-get install dattobd-dkms dattobd-utils
Usage
dbdctl is the userspace tool used to manage the dattobd kernel module. It comes with a man page (see issue #91 if not installed):
man dbdctl # Get the manpage
View the current status by listing content of {file|/proc/datto-info}:
cat /proc/datto-info
# {
# "version": "0.9.16",
# "devices": [
# {
# "minor": 0,
# "cow_file": "/.datto_3d41c58e-6724-4d47-8981-11c766a08a24_63a1cea102479ac8f40726939d656624778f1a2f7fb6714f",
# "block_device": "/dev/dm-1",
# "max_cache": 314572800,
# "fallocate": 2147483648,
# "seq_id": 1,
# "uuid": "e8f7f4d4b11549458da6c8cfdad6f93f",
# "state": 3
# }
# ]
# }
See STRUCTURE.md for details about this file.