Btrbk: Difference between revisions

imported>Onny
Update example configuration
imported>Onny
mNo edit summary
Line 3: Line 3:
== Configuration ==
== Configuration ==


When transfering backups with btrbk of the subvolume used as a root filesystem, it is recommended to mount the Btrfs drive, in this example <code>/dev/sda1</code> subvolume with the id to a specific mountpoint. So in this case all subvolumes will be available as a subdirectory in <code>/btr_pool</code>.
When transfering backups with btrbk of subvolumes used as a root filesystem, it is recommended to mount the Btrfs drive, in this example <code>/dev/sda1</code> with the root subvolume id 5 to a specific mountpoint. So in this case all subvolumes will be available as a subdirectory in <code>/btr_pool</code> an can be accessed by btbrk.


{{file|/etc/nixos/hardware-configuration.nix|nix|<nowiki>
{{file|/etc/nixos/hardware-configuration.nix|nix|<nowiki>