From owner-freebsd-questions@FreeBSD.ORG Tue Dec 12 17:16:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B514016A504 for ; Tue, 12 Dec 2006 17:16:42 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7907643E93 for ; Tue, 12 Dec 2006 17:10:00 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.141] (helo=anti-virus02-08) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1GuBA2-0004kh-5Z; Tue, 12 Dec 2006 17:11:22 +0000 Received: from [80.192.25.35] (helo=[192.168.0.2]) by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52) id 1GuBA1-00028b-9U; Tue, 12 Dec 2006 17:11:21 +0000 Message-ID: <457EE2B8.1030900@dial.pipex.com> Date: Tue, 12 Dec 2006 17:11:20 +0000 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20061205 X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20061212150519.65264.qmail@web52409.mail.yahoo.com> <457EDB44.5010808@mac.com> In-Reply-To: <457EDB44.5010808@mac.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD Backup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2006 17:16:42 -0000 Peter A. Giessel wrote: >On 2006/12/12 6:05, probsd org seems to have typed: > >> dump -L -0f - / | ssh -C login@other-freebsd-server "cat > /usr/home/login/root.dump >> > >The handbook also suggests something to the effect of: >/sbin/dump -0uaL -f - / | gzip -2 | ssh login@other-freebsd-server dd >of=/www/dumpdir/dump-root.gz > If you want to offload the gzip to the other server (if it's faster, for example) then /sbin/dump -0uaL -f - / | ssh login@other-freebsd-server "gzip -9 > /usr/home/login/root.dump" would also fly. Obviously gzip compression can be tweaked as you see fit, but personally I've never found any reason to use anything but 9 :-) I did tests with the subtly different cat and dd methods of naming the remote file and found no discernible timing difference. I find it handy to encode the dump level (e.g. .0 .1) in the remote name. --Alex