Moving snapshots
Hello,
how do I move a (read-only) snapshot?
Simply creating another read-only snap from the first one and then deleting the source works, except that it destroy's the snapshot's identity -- which means that it can't be used as a parent for "btrfs receive" any more. :-(
Signature · 1 line
-- Matthias Urlichs
Quoted 4 lines · Matthias Urlichs
Hello,
how do I move a (read-only) snapshot?
If you want to move a read-only snapshot to a different directory, '..' changes, and therefore is not a read-only operation.
Quoted 3 lines
Simply creating another read-only snap from the first one and then deleting the source works, except that it destroy's the snapshot's identity -- which means that it can't be used as a parent for "btrfs receive" any more. :-(
# btrfs property set -ts /path/to/snapshot ro false # mv /path/to/snapshot /new/path # btrfs property set -ts /new/path ro true
worked for me
Quoted 3 lines
--
-- Matthias Urlichs
--
Noah