Btrbk: Difference between revisions

imported>Onny
Add workaround for NOPASSWD in NixOS 23.11
imported>Onny
Make clear that instance name is custom
Line 24: Line 24:
services.btrbk = {
services.btrbk = {
   extraPackages = [ pkgs.lz4 ];
   extraPackages = [ pkgs.lz4 ];
   instances.remote = {
   instances."remote_myhost" = {
     onCalendar = "weekly";
     onCalendar = "weekly";
     settings = {
     settings = {
Line 76: Line 76:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
btrbk -c /etc/btrbk/remote.conf --dry-run --progress --verbose run
btrbk -c /etc/btrbk/remote_myhost.conf --dry-run --progress --verbose run
</syntaxhighlight>
</syntaxhighlight>


The filename <code>remote.conf</code> references the instance name choosen in the example configuration above.
The filename <code>remote_myhost.conf</code> references the instance name choosen in the example configuration above.


[[Category:Applications]]
[[Category:Applications]]
[[Category:Backup]]
[[Category:Backup]]