From owner-freebsd-questions@FreeBSD.ORG Fri Oct 16 14:54:05 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 EE6FE1065672 for ; Fri, 16 Oct 2009 14:54:05 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id B09798FC08 for ; Fri, 16 Oct 2009 14:54:05 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id n9GErEYA059270; Fri, 16 Oct 2009 10:53:14 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id n9GErDHh059269; Fri, 16 Oct 2009 10:53:13 -0400 (EDT) (envelope-from jerrymc) Date: Fri, 16 Oct 2009 10:53:13 -0400 From: Jerry McAllister To: Nerius Landys Message-ID: <20091016145313.GC59094@gizmo.acns.msu.edu> References: <560f92640910142042tc46f1e3lb81ac1e4528a44ab@mail.gmail.com> <20091015143947.GB54613@gizmo.acns.msu.edu> <560f92640910151742h33393131j9974c23db37602b8@mail.gmail.com> <560f92640910160012k6877b82ah5899405418f7c0e7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <560f92640910160012k6877b82ah5899405418f7c0e7@mail.gmail.com> User-Agent: Mutt/1.4.2.2i 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 14:54:06 -0000 On Fri, Oct 16, 2009 at 12:12:56AM -0700, Nerius Landys wrote: You can do all this though it might be more than needed. Only the level 0 dumps are needed. > Thanks again guys.  My final series of steps to take full backups: > > bsdlabel ad4s1 | ssh -p 22222 nlandys@localhost dd > of=/home/nlandys/backup/bsdlabel_ad4s1 > dmesg -a | ssh -p 22222 nlandys@localhost dd > of=/home/nlandys/backup/dmesg > dd if=/dev/ad4 bs=512 count=1 | ssh -p 22222 nlandys@localhost dd > of=/home/nlandys/backup/MBR > cat /etc/fstab | ssh -p 22222 nlandys@localhost dd > of=/home/nlandys/backup/fstab > dump -0Lan -f - / | gzip | ssh -p 22222 nlandys@localhost dd > of=/home/nlandys/backup/dump0-root.gz > dump -0Lan -f - /tmp | gzip | ssh -p 22222 nlandys@localhost dd > of=/home/nlandys/backup/dump0-tmp.gz > dump -0Lan -f - /var | gzip | ssh -p 22222 nlandys@localhost dd > of=/home/nlandys/backup/dump0-var.gz > dump -0Lan -f - /usr | gzip | ssh -p 22222 nlandys@localhost dd > of=/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. Are you clear about what you have to run on the other machine to receive the data and put it where you want? ////jerry