mirror of https://github.com/digint/btrbk
documentation: README.md: add non-volume examples
parent
b658fba08c
commit
1eee2c0d2e
17
README.md
17
README.md
|
@ -93,8 +93,8 @@ The examples below assume that the btrfs subvolume containing `home`
|
|||
and `rootfs` is mounted at `/mnt/btr_pool`. This is usually the btrfs
|
||||
root subvolume, which always has `subvolid=5`.
|
||||
|
||||
Note that mounting subvolid=5 is *mandatory* if you want to backup
|
||||
your root filesystem `/`.
|
||||
Mounting `subvolid=5` is *recommended* (mandatory for btrbk < v0.32.0)
|
||||
if you want to backup your root filesystem `/`.
|
||||
|
||||
/etc/fstab:
|
||||
|
||||
|
@ -139,6 +139,19 @@ be created manually:
|
|||
|
||||
sudo mkdir /mnt/btr_pool/btrbk_snapshots
|
||||
|
||||
The "volume" section is merely used as a specifier for a base
|
||||
directory, and can be skipped if you prefer to configure everything
|
||||
using absolute paths. The above configuration can also be written as:
|
||||
|
||||
snapshot_dir /mnt/btr_pool/btrbk_snapshots
|
||||
subvolume /mnt/btr_pool/home
|
||||
|
||||
If you don't want to mount the btrfs root filesystem to
|
||||
`/mnt/btr_pool`, you might as well configure it like this:
|
||||
|
||||
snapshot_dir /btrbk_snapshots
|
||||
subvolume /home
|
||||
|
||||
Start a dry run:
|
||||
|
||||
sudo btrbk run -n
|
||||
|
|
Loading…
Reference in New Issue