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?
-
2I dont think so. Why don't you want subvolumes? Subvolumes are one of those things that makes btrft great.arnefm– arnefm2014-06-02 11:13:06 +00:00Commented Jun 2, 2014 at 11:13
-
Going to read up on subvolumes more today.fred basset– fred basset2014-06-02 16:02:58 +00:00Commented Jun 2, 2014 at 16:02
-
2Also, snapshots are subvolumes.XTL– XTL2015-11-11 13:43:32 +00:00Commented Nov 11, 2015 at 13:43
Add a comment
|
1 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)