btrfs subvolume snapshot -r @astralinux @astralinux_ro
btrfs send /mnt/btrfs/@astralinux_ro | btrfs receive /mnt/flash
btrfs subvolume snapshot /mnt/flash/@astralinux_ro /mnt/flash/@astralinux
btrfs property set -f -ts /mnt/btrfs/@astralinux_ro ro false
btrfs property set -f -ts /mnt/flash/@astralinux_ro ro false
rm -rf /mnt/btrfs/@astralinux_ro
rm -rf /mnt/flash/@astralinux_ro
Btrfs create snapshot and send | receive to backup
Category: *nix |