On Wed, September 30, 2009 08:21, p...@paularcher.org wrote: >> It appears that I have waded into a quagmire. Every option I can find >> (cpio, tar (Many versions!), cp, star, pax) has issues. File size and >> filename or path length, and ACLs are common shortfalls. "Surely there >> is >> an easy answer" he says naively! >> >> I simply want to copy one zfs filesystem tree to another, replicating it >> exactly. Times, Permissions, hard links, symbolic links, sparse file >> holes, ACLs, extended attributes, and anything I don't know about. >> >> Can you give me a commandline with parameters? I will then study what >> they mean. >> > > Have you ruled out using 'zfs send' / 'zfs receive' for some reason? And > have you looked at rsync? I generally find rsync to be the easiest and > most reliable tool for replicating directory structures. You may want to > look at the GNU version of rsync (available at www.sunfreeware.com and > elsewhere).
I had to discard an rsync-based backup scheme when I went to CIFS; rsync doesn't handle extended attributes and ACLs, which CIFS uses. And I haven't been able to make incremental replication send/receive work. Supposed to be working on that, but now I'm having trouble getting a VirtualBox install that works (my real NAS is physical, but I'm using virtual systems to test things). -- David Dyer-Bennet, d...@dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss