Sample Header Ad - 728x90

Backup entire zfs pool to different filesystem

3 votes
1 answer
2469 views
I have a zpool with around 6TB of data on it (including snapshots for the child datasets). For the important data in it, I already have backups on filesystem level. As I need to perform some rather "dangerous" operations (i.e. this pool migration ), I want to backup the whole pool to a different server. In an ideal world, I would have used send and recv (like so ). Unfortunately, this server is btrfs-based with no option to install zfs. When researching, people recommend just plain rsync (e.g. here ) but as far as I can see, I would be back to filesystem level and more importantly, I'm not sure if the already existing dataset snapshots would still be intact. I basically just want to "freeze" the entire pool with a snapshot, send that off to the remote server and in case something goes wrong, restore the pool to the previous state (with ideally one command). **Therefore I'm looking for a solution to backup an entire zfs to a different server running a different filesystem, keeping all datasets and snapshots intact**
Asked by Dom42 (31 rep)
Aug 29, 2022, 09:32 AM
Last activity: May 8, 2025, 08:00 PM