This version incorporates several major changes. The biggest change is that the script uses 'zfs send' rather than rsync to transport snapshots from the source to the destination. The second big change is that the snapshots are a single file rather than using rsync to replicate the entire directory structure.
*** empty log message ***
Logic errors identified and resolved with for loop.
Removed append redirect following $CMD.
Simplified script, but have lost the ability to log which filesystem is being sent to the backup server.