I daily rsync my Mac''s home directory to home solaris server box, and snapshot it. Weekly, I rsync my photo directory to my $10/month hosting provider. To better manage situations where I have a long rsync in progress up to hosting provider, and the daily backup kicks in, I wrote a simple script that ensures that data is properly synchronized. It works just like rsync, but adds a parameter to select a filesystem/snapshot. So, instead of specifying, say, /export/backup/joe/photos as rsync source, you would specify tank/backup/joe@ /photos, meaning, find the latest snapshot and mountpoint for tank/backup/joe, and use photos directory from that as rsync source. The script can be told to use current version of the files ("filesystem") (it will create a temporary snapshot to rsync from), the latest existing snapshot ("filesystem@") or a specific snapshot ("filesystem at snapshot"). It requires ability to "pfexec zfs" if it needs to create temporary snapshot - once the new thing with zfs permissions is implemented, pfexec can be removed. The script is available at http://blog.cognistudio.com/ Hope someone can use it. Marko -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20070725/4c6cf965/attachment.html>