ZFS send....

Zedicus

[H]ard|Gawd
Joined
Nov 2, 2010
Messages
1,337
so i have been using RSYNC for my files and folders and ZFS send | receive for snapshots. but it would seem to me that ZFS send could move a files and folders (a snapshot is basically that, no?)

but all the docs and the oracle page only show ZFS send as pertaining to snapshots. IE:
# zfs send tank/data@snap1 | zfs recv spool/ds01

is it possible to ZFS send a complete folder? or even a complete tank?

(im hesitant to just start bashing out commands, still green in ZFS land.)

thanks
 
Last edited:
I am going to say yes on the second although normally you send snapshots where a snapshot would be a dataset at a point in time.
 
zfs send replicates a ZFS filesystem (this is like a partition) not a simple folder
This is based on snapshots to hava a valid state

You can also use it recursive ex on a pool to transfer all filesystems below.
On first run it transfers all data, on next run only modified datablocks.
 
....

You can also use it recursive ex on a pool to transfer all filesystems below.
On first run it transfers all data, on next run only modified datablocks.


can i get an example of what that command would look like?
 
i see what you are saying in that it updates the snaps.
thanks
 
Back
Top