User:Hfern/Drafts/btrbk

Btrbk is a backup tool for btrfs subvolumes, taking advantage of btrfs specific capabilities to create atomic snapshots and transfer them incrementally to your backup locations. Having btrfs partitions is therefore a prerequisite to using using btrbk.

Installation
Btrbk is in portage.

Additional software
When btrbk is used to transfer backups to a central backup server some additional software may be required:
 * ssh is used to transfer backups to a remote server. Package is a dependency
 * mbuffer can be used to speedup the communications. It would need to be installed on the backup server. It's package is not a dependency, see also.

Configuration
Btrbk installs a well documented sample configuration file at. Copy it to, and adapt it to your requirements. The configuration file has some general settings, and settings per volume that needs to be backed up.

global settings
These settings can be defined on a global level, but can be overriden per volume.
 * transaction_log: location of the log
 * stream_buffer: the size of the in memory buffer used by mbuffer, if a remote backup server is used
 * snapshot_dir: relative to the volume. Note that btrbk does not create this directory.

External resources

 * (Link to external resources (outside the Wiki) using bullet points in this section. It is common for the information in this section to full sentences that are links.)