Fooler,

I didn't see your last note their about FreeBSD 4.5. I haven't tested it yet
on our production machines but we have mirrored the entire 4.5-RELEASE i386
ISO package.

Rowel, thanks for the suggestion. What blocking factor would you suggest for
a DDS-3 tape drive? (4mm DDS-125, 24GB compressed/12GB uncompressed)

-----Original Message-----
From: Rowel Atienza [mailto:[EMAIL PROTECTED]] 
Sent: Friday, February 01, 2002 7:50 AM
To: [EMAIL PROTECTED]
Subject: RE: [plug] Redirecting output to file


a perl script may do:



#!/usr/bin/perl

$command = "ssh host_to_backup \"sh -c 'dump -0uaf - / | gzip -2 | ssh -2
-c blowfish host_where_to_put_backup dd of=/dev/nrsa0' \" > dump.log 
2>&1";
system $command;

btw, would it be wise to put the blocking factor as it can make your
backup more efficient? 
-rowel

On Fri, 1 Feb 2002 [EMAIL PROTECTED] wrote:

> Fooler,
> 
> The output would be that of 'dd' and not of the dump process, right? How
> about including the output of the dump process?
> 
> -----Original Message-----
> From: fooler [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, January 31, 2002 2:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [plug] Redirecting output to file
> Importance: High
> 
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 31, 2002 1:10 PM
> Subject: [plug] Redirecting output to file
> 
> 
> > Hi all,
> >
> > I'm doing a remote backup via ssh:
> >
> > dump -0uaf - / | gzip -2 | ssh -2 -c blowfish backup.host dd
of=/dev/nrsa0
> &
> >
> > but I also want to save the output of the dump sequence to a file for
> > logging and checking purposes as it will be running in the background.
> I've
> > tried:
> >
> > dump -0uaf - / | gzip -2 | ssh -2 -c blowfish backup.host dd
of=/dev/nrsa0
> \
> > &> dump.log &
> >
> > this does not work :(
> 
> dump -0uaf - / | gzip -2 | ssh -2 -c blowfish backup.host TEE dd
> of=/dev/nrsa0 dump.log &
> 
> man tee for more details.
> 
> fooler.
> P.S.
>     hey francis, freebsd 4.5-install.iso is already out and i tested it...
> its performance really improve from tcp/ip stack to its filesystem.
> 
> 
> _
> Philippine Linux Users Group. Web site and archives at
> http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
> 
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to
> [EMAIL PROTECTED]
> _
> Philippine Linux Users Group. Web site and archives at
http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
> 
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]
> 





_
Philippine Linux Users Group. Web site and archives at
http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to