From owner-freebsd-isp@FreeBSD.ORG Thu Jul 31 06:32:24 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 CA5A237B401 for ; Thu, 31 Jul 2003 06:32:23 -0700 (PDT) Received: from web1.nexusinternetsolutions.net (web1.nexusinternetsolutions.net [206.47.131.12]) by mx1.FreeBSD.org (Postfix) with SMTP id EB0B843FA3 for ; Thu, 31 Jul 2003 06:32:22 -0700 (PDT) (envelope-from dave@hawk-systems.com) Received: (qmail 61591 invoked from network); 31 Jul 2003 13:32:21 -0000 Received: from unknown (HELO ws1) (65.49.236.97) by web1.nexusinternetsolutions.net with SMTP; 31 Jul 2003 13:32:21 -0000 From: "Dave [Hawk-Systems]" To: Date: Thu, 31 Jul 2003 09:32:21 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-reply-to: <1457.192.168.23.97.1059613662.squirrel@webmail.schmut.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: dump directly to remote HDD over ssh <-- take it up a notch X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2003 13:32:24 -0000 >this works for me (sorry no datestamp): > >dump -0uf - / | bzip2 | ssh user@box.domain.com dd of=/pathto/file.bz > ok, how about this... to ensure that we don't get too many servers trying to back up to the big archive server at once, we want to run a script from the controller server... #!/bin/sh ssh server1 "dump -3uf - /usr | ssh big_backup_server dd of=/backups/server1.usr.dump" ssh server1 "dump -3uf - / | ssh big_backup_server dd of=/backups/server1.root.dump" ssh server2 "dump -3uf - /usr | ssh big_backup_server dd of=/backups/server2.usr.dump" ssh server2 "dump -3uf - / | ssh big_backup_server dd of=/backups/server2.root.dump" running it in this way should ensure that each dump completes before the next one is started, keeping them stacked, but not overlaying each other and effectively DOSing the box with all that data, correct? thanks for this and the verification on the previous Dave