From owner-freebsd-questions@FreeBSD.ORG Sat Apr 5 03:09:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44434106566C for ; Sat, 5 Apr 2008 03:09:10 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id E8C6F8FC14 for ; Sat, 5 Apr 2008 03:09:09 +0000 (UTC) (envelope-from mike@sentex.net) Received: from Mobile2.sentex.ca (cage.simianscience.com [64.7.134.1]) by smarthost1.sentex.ca (8.14.2/8.14.2) with SMTP id m35395U7053878; Fri, 4 Apr 2008 23:09:09 -0400 (EDT) (envelope-from mike@sentex.net) From: mike@sentex.net To: Paul Schmehl Date: Fri, 04 Apr 2008 23:09:22 -0400 Message-ID: <0uqdv3h5r4kprbmhmeh0cme4apn5tvimm0@4ax.com> References: <4E73E577666CE823A7212C54@utd65257.utdallas.edu> In-Reply-To: <4E73E577666CE823A7212C54@utd65257.utdallas.edu> X-Mailer: Forte Agent 4.2/32.1118 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Remote backups using ssh and dump 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: Sat, 05 Apr 2008 03:09:10 -0000 On Fri, 04 Apr 2008 12:59:27 -0500, in sentex.lists.freebsd.questions you wrote: >Has anyone done this? Hi, Yes, we use something like the following #!/bin/sh if [ -z $1 ] ; then echo "" echo "Usage: $0 " echo " See 'man dump' for more information." echo "" exit 255 fi BACKUP_LEVEL=3D0 BACKUP_LEVEL=3D$1 /sbin/dump -C24 -${BACKUP_LEVEL}anuf - / | /usr/bin/gzip -7 | /usr/bin/ssh -2 -c 3des backupuser@example.com dd of=3D/path/to/dump/dump-myfifle-root-l${BACKUP_LEVEL}.gz ---Mike