Skip to content

btrfs and filesystem traversal #171

Answered by CyberShadow
iameru asked this question in Q&A
Discussion options

You must be logged in to vote

Snapshots are state, so you have to add ignore rules for them.

I have a filesystem with lots of btrfs subvolumes mounted and lots of snapshots.

This is an unusual setup.

A hot fix probably would be to check for btrfs and their mountpoint and only take / and /home/ and other relevant ones into consideration.

What is relevant or not depends entirely on your setup and goal.

For now this takes unusably long to walk through.

Ignore rules should help here. If your snapshots follow a consistent naming scheme, one ignore rule might be enough (e.g. */@*-????-??-??).

Note that you can also generate the ignore rule list programmatically, e.g. by enumerating your subvolumes in your aconfmgr con…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by iameru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants