https://github.com/andaag/zfs-to-glacier
I built something similar a while back that I've been using for years now.
Something worth noting. There is a minimum cost to files. If you have tons of tiny kb sized files (incremental snapshots..) it's drastically cheaper to fallback to s3 for them.