From owner-freebsd-isp@FreeBSD.ORG Wed Jul 30 18:07:01 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A85AF37B401 for ; Wed, 30 Jul 2003 18:07:01 -0700 (PDT) Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id E716043F85 for ; Wed, 30 Jul 2003 18:07:00 -0700 (PDT) (envelope-from mario@schmut.com) Received: (qmail 801 invoked from network); 31 Jul 2003 01:07:00 -0000 Received: from unknown (HELO schmut.com) ([66.92.49.2]) (envelope-sender ) by mail15.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 31 Jul 2003 01:07:00 -0000 Received: from 192.168.23.97 (SquirrelMail authenticated user mario@schmut.com) by webmail.schmut.com with HTTP; Wed, 30 Jul 2003 18:07:42 -0700 (PDT) Message-ID: <1457.192.168.23.97.1059613662.squirrel@webmail.schmut.com> Date: Wed, 30 Jul 2003 18:07:42 -0700 (PDT) From: "mario" To: In-Reply-To: References: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.9) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-isp@freebsd.org Subject: Re: dump directly to remote HDD over ssh X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mario@schmut.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2003 01:07:02 -0000 this works for me (sorry no datestamp): dump -0uf - / | bzip2 | ssh user@box.domain.com dd of=/pathto/file.bz mario;> - - - - - - - - House Of Sites - - - - - - - - Web Design :: Programming :: Hosting :: Maintenance Web site: http://www.HouseOfSites.net Email: mario@HouseOfSites.net Tel: 415-242-3376 ---------------------------------------------------- Do you schmut!? http://www.schmut.com > Number of smaller servers, current doing dumps to secondary drives each > night. Extra copies are then rsync'd to a big storage server for long > term archive > > <-- currently --> > dump -0u -a -f /backup/usr /usr > rsync -v /backup/usr \ > destination.server:/backups/server1/usr.0.`date +%Y%m%d`.dump > > > What we want to do is eliminate the need for the secondary drive if need > be, and do the dump directly over to the big storage server where we can > then archive all the "images" from the one drive. > > Am lookiung at something like this, can someone sanity check the syntax > for me please? > > <--untested code --> > dump -0 -u -f- /usr | ssh server1@destination.server \ > cat - > /backups/server1/usr.0.`date +%Y%m%d`.dump > > > thanks > > Dave > > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"