[Bug 1871246] [NEW] Revert to snapshot with child subvolumes
Dark Dragon
darkdragon-001 at web.de
Mon Apr 6 22:51:11 UTC 2020
Public bug reported:
When using child subvolumes (e.g. /var/lib/docker/btrfs,
/var/snap/lxd/common/lxd/storage-pools/default), restoring a snapshot
involves moving these child subvolumes manually.
I suggest to add a command "btrfs subvolume restore SRC DST" with an option "--include-children" with the following behavior:
1. In case DST already exists, it could be moved to DST.bak
2. btrfs subvolume snapshot SRC DST
3. For all children of DST.bak, move to SRC
** Affects: btrfs-tools (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to btrfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1871246
Title:
Revert to snapshot with child subvolumes
Status in btrfs-tools package in Ubuntu:
New
Bug description:
When using child subvolumes (e.g. /var/lib/docker/btrfs,
/var/snap/lxd/common/lxd/storage-pools/default), restoring a snapshot
involves moving these child subvolumes manually.
I suggest to add a command "btrfs subvolume restore SRC DST" with an option "--include-children" with the following behavior:
1. In case DST already exists, it could be moved to DST.bak
2. btrfs subvolume snapshot SRC DST
3. For all children of DST.bak, move to SRC
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/btrfs-tools/+bug/1871246/+subscriptions
More information about the foundations-bugs
mailing list