Richard Elling wrote:
> Sergey wrote:
>   
>> Hi list,
>>
>> I'd like to be able to store zfs filesystems on a tape drive that is 
>> attached to
>> another Solaris U4 x86 server. The idea is to use "zfs send" together with 
>> tar in order to get the list of the filesystems' snapshots stored on a tape 
>> and be able to perform a restore operation later. It's pretty nice to use 
>> tar to get a content of the tape in human-readable form.
>>
>> How can I do it in-one-command without intermediate file? 
>>
>> The file ifself can be done using "zfs send tank/[EMAIL PROTECTED] > 
>> /path/to/filesystem_snapshot.zfs" ? But it's painfull to reserve pretty 
>> large amount if disk space to store intermidiate .zfs file..
>>
>> Of course, I can write to remote type using ssh using the command below but 
>> I'd lile to see some kind of meaningful names on the tape:
>>
>> # zfs send tank/[EMAIL PROTECTED] | ssh remote_server "cat > /dev/rmt/0bn"
>>   
>>     
>
> close.  mt(1) is the command you want rather than cat.
>   

I sent too soon, mt(1) for managing tape files.  It is also usually better
to use dd as JP suggests because you can match the block size, which
is needed for efficiency in some cases.
 -- richard

>  -- richard
>
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>   

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to