Date: Fri, 16 Oct 2009 10:53:13 -0400 From: Jerry McAllister <jerrymc@msu.edu> To: Nerius Landys <nlandys@gmail.com> Cc: Jerry McAllister <jerrymc@msu.edu>, questions@freebsd.org Subject: Re: Best procedure for full backup of live system Message-ID: <20091016145313.GC59094@gizmo.acns.msu.edu> In-Reply-To: <560f92640910160012k6877b82ah5899405418f7c0e7@mail.gmail.com> References: <560f92640910142042tc46f1e3lb81ac1e4528a44ab@mail.gmail.com> <20091015143947.GB54613@gizmo.acns.msu.edu> <560f92640910151742h33393131j9974c23db37602b8@mail.gmail.com> <alpine.BSF.2.00.0910152049340.80320@wonkity.com> <560f92640910160012k6877b82ah5899405418f7c0e7@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091016145313.GC59094>