From owner-freebsd-questions@FreeBSD.ORG Fri Oct 16 07:12:57 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC2AE106566C for ; Fri, 16 Oct 2009 07:12:57 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 62EFC8FC1A for ; Fri, 16 Oct 2009 07:12:57 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so509910qwd.7 for ; Fri, 16 Oct 2009 00:12:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Q9ScvJi3KTBsDP2DnucH69z3P/ok4q19qqGAZ4T7OWk=; b=MfeZ2hlDj5vrd6CCfxtHXnjLr9WIYVvmOEsHTaveuy4EVhKmSY/XHXNcQYv6MGDj5b AxCeGKoR/HS+s95xYmu0UKSEsvHhoSjp7IWqTB4tkmowezhsmibaBh8Oixk6ansGUo4j O36Ur7J+kDGF0niuI3JjsYp7YMNNf6LLSzvUE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=hHLhrK/Iay5GoDDzVBF+naq3r0pWRPNHdhPR2tauGfWLGaACJnl6BdkG1CFyFbZRSU jdDUlBigGvIWrJPMnV9SEtvfZgNV0BgbkktLDtEYmGxx11HGsZ04xfcKdhnEKh2cEzkB TKZNv/YqyX/U/xOmdrBx3rpzwK7MeQw8rnNnQ= MIME-Version: 1.0 Received: by 10.229.129.133 with SMTP id o5mr177814qcs.45.1255677176578; Fri, 16 Oct 2009 00:12:56 -0700 (PDT) In-Reply-To: References: <560f92640910142042tc46f1e3lb81ac1e4528a44ab@mail.gmail.com> <20091015143947.GB54613@gizmo.acns.msu.edu> <560f92640910151742h33393131j9974c23db37602b8@mail.gmail.com> Date: Fri, 16 Oct 2009 00:12:56 -0700 Message-ID: <560f92640910160012k6877b82ah5899405418f7c0e7@mail.gmail.com> From: Nerius Landys To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Jerry McAllister , questions@freebsd.org Subject: Re: Best procedure for full backup of live system 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: Fri, 16 Oct 2009 07:12:57 -0000 Thanks again guys. =A0My final series of steps to take full backups: bsdlabel ad4s1 | ssh -p 22222 nlandys@localhost dd of=3D/home/nlandys/backup/bsdlabel_ad4s1 dmesg -a | ssh -p 22222 nlandys@localhost dd of=3D/home/nlandys/backup/dmesg dd if=3D/dev/ad4 bs=3D512 count=3D1 | ssh -p 22222 nlandys@localhost dd of=3D/home/nlandys/backup/MBR cat /etc/fstab | ssh -p 22222 nlandys@localhost dd of=3D/home/nlandys/backup/fstab dump -0Lan -f - / | gzip | ssh -p 22222 nlandys@localhost dd of=3D/home/nlandys/backup/dump0-root.gz dump -0Lan -f - /tmp | gzip | ssh -p 22222 nlandys@localhost dd of=3D/home/nlandys/backup/dump0-tmp.gz dump -0Lan -f - /var | gzip | ssh -p 22222 nlandys@localhost dd of=3D/home/nlandys/backup/dump0-var.gz dump -0Lan -f - /usr | gzip | ssh -p 22222 nlandys@localhost dd of=3D/home/nlandys/backup/dump0-usr.gz ... where port 22222 on localhost is a pipe to my remote desktop with the 500 GB harddrive. If I missed anything important please let me know.