Btrbk: Difference between revisions

imported>Onny
Expanded remote host setup instructions
imported>Onny
mNo edit summary
Line 39: Line 39:
</nowiki>}}
</nowiki>}}


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 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:


{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
Line 59: Line 59:
       }
       }
     ];
     ];
     users = [ "picloud" ];
     users = [ "btrbk" ];
   }];
   }];
};
};