btrbk icon indicating copy to clipboard operation
btrbk copied to clipboard

Exclude subvolumes when using wildcards

Open SampsonF opened this issue 3 years ago • 3 comments

I am using:

volume /mnt/1T
subvolume *

It will also match subvolume that is hidden, like .beeshome

How can I ignore hidden subvolumes?

SampsonF avatar Jul 25 '21 20:07 SampsonF

I'm afraid this is not possible from the configuration. As a workaround, you calling btrbk run --exclude .beeshome should work.

Of course another way would be to specify all subvolumes without using wildcard *.

digint avatar Aug 06 '21 12:08 digint

Thank you.

I changed my subvol layout.

btrbk will monitor subvol1 hence other subvols outside of subvol1 will not be processed.

The benefits of using wildcard is, when there is new subvol created, btrbk will pick it up automatically.

SampsonF avatar Aug 06 '21 21:08 SampsonF