On 2019-09-09 07:25, zedlr...@server53.web-hosting.com wrote:
Quoting Qu Wenruo <quwenruo.bt...@gmx.com>:
1) Full online backup (or copy, whatever you want to call it)
btrfs backup <filesystem name> <partition name> [-f]
- backups a btrfs filesystem given by <filesystem name> to a partition
<partition name> (with all subvolumes).
Why not just btrfs send?
Or you want to keep the whole subvolume structures/layout?
Yes, I want to keep the whole subvolume structures/layout. I want to
keep everything. Usually, when I want to backup a partition, I want to
keep everything, and I suppose most other people have a similar idea.\
This: https://github.com/Ferroin/btrfs-subv-backup may be of interest to
you. It's been a while since I updated it, but it still works perfectly
fine.
Won't exactly let you do an exact block-level backup, and it won't
preserve reflinks, but it will let you store subvolume info in an
otherwise 'normal' backup through tools like Borg, Bacula, or Amanda.