Btrbk: Difference between revisions

Remove redundant sudo rules since the NixOS module for btrbk already has those rules (https://github.com/NixOS/nixpkgs/blob/5630cf13cceac06cefe9fc607e8dfa8fb342dde3/nixos/modules/services/backup/btrbk.nix#L66)
Tags: Mobile edit Mobile web edit
Klinger (talk | contribs)
m Link to btrfs article
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[https://digint.ch/btrbk/ Btrbk], a tool for creating snapshots and remote backups of btrfs subvolumes.
[https://digint.ch/btrbk/ Btrbk], a tool for creating snapshots and remote backups of [[btrfs]] subvolumes.


== Setup ==
== Setup ==
Line 45: Line 45:
     };
     };
   };
   };
};
</nowiki>}}
For the remote host, configure SSH access for Btrbk:
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
services.btrbk = {
  sshAccess = [
    {
      key = "ssh-ed25519 blah";
      roles = [
        "target"
        "info"
        "receive"
      ];
    }
  ];
};
};
</nowiki>}}
</nowiki>}}