Debian – btrfs snapshots without subvolumes

btrfsdebianfilesystemslinuxsnapshot

I'm starting to use btrfs. I want to be able to snapshot certain directories but do not want to create sub-volumes. Is this possible?

Best Answer

Yes. Do cp --reflink=auto /src/dir /dest/dir. For all practical purposes it behaves like read & write snapshot of the given directory.

(If you use this command across independent btrfs partitions or outside the btrfs it will perform an ordinary copy)

Related Question