Categories
Linux Mastering Development

create recursive snapshots with BTRFS

I’m working on a shell script (just with btrfs default tools), which should do recursive snapshots of all subvolumes. My BTRFS looks like that and each directory is a subvolume. In the .snapshots directory are the snaps stored from the parent directory. ── .snapshots ├── sub1 │ ├── .snapshot │ └── subsub1 │ └── .snapshot […]