I thought I had the perfect setup for incremental, encrypted backups, while still being able to use rsync's ability to restart an interrupted transfer.
I have an Ubuntu 12.04 system with ZFSonLinux. I have a Disk with GUID partitioning. On top of one of those partitions, I have LUKS (Linux Unified Key Setup) encryption. On top of that I have a Zpool, and a ZFS file system for each system that I am backing up. I
rsync -ax --numeric-ids to the ZFS filesystem, and then snapshot it after every backup.
I was reading the man page today, and it says:
zpool export [-f] pool ... Exports the given pools from the system. All devices are marked as exported, but are still considered in use by other subsystems. The devices can be moved between systems (even those of different endianness) and imported as long as a sufficient number of devices are present. <snip> For pools to be portable, you must give the zpool command whole disks, not just partitions, so that ZFS can label the disks with portable EFI labels. Otherwise, disk drivers on platforms of different endianness will not recognize the disks.
So, two questions.
First, I only use the standard x86_64 hardware. Do I even need to worry about endianness?
Second, is there a way pass the import the information it normally would get from the partition table? (And of course, I would need to store it when I do the export, too)