Cesare wrote:
> Hi all,
>
> I've recently started down to put on production use for zfs and I'm 
> looking to how doing a backup of filesystem. I've more than one server 
> to migrate to ZFS and not so more server where there is a tape backup. 
> So I've put a L280 tape drive on one server and use it from remote 
> connection.
>
> The ZFS configuration and command to make a backup is the following:
>
> --- Client A
>
> Client-A# zpool list
> NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
> tank                    119G   50.0G   69.0G    42%  ONLINE     -
> Client-A# zfs list
> NAME                    USED  AVAIL  REFER  MOUNTPOINT
> tank                   37.4G  50.2G  36.7K  /tank
> tank/zones             37.2G  50.2G  25.6G  /opt/zones
> tank/[EMAIL PROTECTED]  11.6G      -  25.0G  -
> Client-A# zfs send tank/[EMAIL PROTECTED] | /opt/3pp/openssh/bin/ssh -c 
> blowfish -l root server-backup \(dd ibs=258048 of=/dev/rmt/1 
> obs=2064384 \)
>
> When I want to restore what I've dumped, I do the following:
>
> Client-B# zfs list
> NAME          USED  AVAIL  REFER  MOUNTPOINT
> tank          144K  66.9G  27.5K  /tank
> tank/backup  24.5K  66.9G  24.5K  /tank/backup
> tank/zones   24.5K  66.9G  24.5K  /tank/zones
> Client-B# zpool list
> NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
> tank                     68G    148K   68.0G     0%  ONLINE     -
> Client-B# /opt/3pp/openssh/bin/ssh -c blowfish -l root server-backup 
> \(dd if=/dev/rmt/1 bs=2064384 \) | zfs receive tank/zones
> stty: : Invalid argument

^^^^^
You must fix your shell environment first.  Try something
simple, like "ssh ... server-backup ls" and see what is returned.
 -- richard

> cannot receive: invalid stream (bad magic number)
> select: Bad file number
> Client-B#
>
> What the trick?
>
> Thanks
>  Cesare
> -- 
>
> Groucho Marx  - "All people are born alike - except Republicans and 
> Democrats."
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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