Btrbk: Difference between revisions
m Correct which man page to use. |
m Link to btrfs article |
||
(3 intermediate revisions by 2 users 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 48: | Line 48: | ||
</nowiki>}} | </nowiki>}} | ||
For the remote host, configure SSH access for Btrbk: | |||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | {{file|/etc/nixos/configuration.nix|nix|<nowiki> | ||
services.btrbk = { | |||
sshAccess = [ | |||
{ | |||
key = "ssh-ed25519 blah"; | |||
roles = [ | |||
"target" | |||
"info" | |||
"receive" | |||
]; | |||
} | |||
]; | |||
}; | }; | ||
</nowiki>}} | </nowiki>}} | ||
=== Local <code>/home</code> Snapshots === | |||
{{Warning|This is not a backup solution alone. If the entire disk fails, local snapshots will be lost along with it.}} | {{Warning|This is not a backup solution alone. If the entire disk fails, local snapshots will be lost along with it.}} | ||