btrfs subvolumes are great, and can be nested. Docker has support for btrfs and makes heavy use of nested snapshots.
I'm trying to move my /var/lib/docker to a new drive.
The procedure "should" be.
1- make a ro snapshot of /var/lib/docker
btrfs sub snap create /var/lib/docker /var/snapshots/docker_some_datetime
both source and destination are on the same fs.
2.- send the snapshot to the new drive
btrfs send /var/snapshots/docker_some_datetime | btrfs receive /mnt/drive2/snapshots/
inside docker folder, there is a btrfs folder filled up with subvolumes. I expected that the folder inside the snapshot be subvolumes as well, but they appear to be just regular folders.
;TLDR
So, the question is, If I take a snapshot of a subvolume that has subvolumes nested inside, aren't they supposed to be subvolumes as well in the snapshot? Am I hitting a btrfs limitation here?