[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zfs-discuss
Subject:    Re: [zfs-discuss] How to do "zfs send" to remote tape drive without
From:       Richard Elling <Richard.Elling () Sun ! COM>
Date:       2008-01-31 18:09:15
Message-ID: 47A20ECB.7030004 () sun ! com
[Download RAW message or body]

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/filesystem@snapshot > \
> > /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/filesystem@snapshot | 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic