Btrbk: Difference between revisions

imported>Onny
Update example setup reflecting latest module changes
imported>Onny
mNo edit summary
Line 38: Line 38:
</nowiki>}}
</nowiki>}}


{{Note|Before the release of NixOS 24.05 you'll have to add the corresponding compression tool manually with `services.btrbk.extraPackages = [ pkgs.lz4 ];`}}
{{Note|Before the release of NixOS 24.05 you'll have to add the corresponding compression tool manually with <code><nowiki>services.btrbk.extraPackages = [ pkgs.lz4 ];</nowiki></code>}}


The user has to be created on the remote host and needs root permissions on the commands <code>btrfs</code>, <code>readlink</code> and <code>test</code>, for example via [[sudo]]. For transport stream compression using <code>lz4</code> to work, the package must also be installed on the target host. The target host configuration for Btrbk could look like this:
The user has to be created on the remote host and needs root permissions on the commands <code>btrfs</code>, <code>readlink</code> and <code>test</code>, for example via [[sudo]]. For transport stream compression using <code>lz4</code> to work, the package must also be installed on the target host. The target host configuration for Btrbk could look like this: