Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2003 13:28:35 +1100 (EST)
From:      =?iso-8859-1?q?Keith=20Spencer?= <bsd2000au@yahoo.com.au>
To:        Ruben de Groot <mail25@bzerk.org>, freebsd-questions@freebsd.org
Cc:        Keith Spencer <bsd2000au@yahoo.com.au>
Subject:   Re: Can I bakup like this...?? <--user mode Reuben?
Message-ID:  <20031120022835.43690.qmail@web12008.mail.yahoo.com>
In-Reply-To: <20031119154354.GA39475@ei.bzerk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi all, thanks to all replying.
I just spent many hours finding out my bakup strategy
was useless (didn't know what I was doing I guess)
Now I need to do it properly.
Ruben (and others)
Can I do the tarring of filesystems in a cron job
without being in single user mode?
I just followed a mostgraveconcern tute to move to a
larger drive and it worked well.
Lots of tarring etc BUT...all done in single user
mode. I imagine I cant do THAT and reboot etc etc in a
cron job.
I am going to try Ruben's idea and allay concerns by
having a removable 2nd harddrive so I can do this >
once to take a drive off site
So comments?
Is dump easier (for a dill like me) to use or
whatever?
What say you 
Thanks
Keith

--- Ruben de Groot <mail25@bzerk.org> wrote: > On Wed,
Nov 19, 2003 at 09:43:30AM -0500, Lowell
> Gilbert typed:
> > Keith Spencer <bsd2000au@yahoo.com.au> writes:
> 
> [...]
> 
> > > a) Throw another drive in the box
> > > b) Createthe same or at least minimum size
> partitions
> > > as the active drive
> > > c) Cron job to "dump" or tar or ??? the
> partitions
> > 
> > dd(1) is the easiest way to make sure that the
> disk will work just
> > like the other one.  It requires a
> same-size-or-larger second disk.
> 
> I consider dd a very lousy backup method. Any writes
> to the first disk 
> while dd is running will likely result in corrupted
> filesystems on the
> second disk. Performance is bad as well, since dd
> will copy every single 
> bit, not just actual data.
> 
> A better approach would be to follow a) and b)
> above, newfs(8) the
> partitions, make the second drive bootable using
> boot0cfg(8) and then 
> periodically use dump/restore, tar, pax, cpio or
> even rsync to backup
> your first to second disk (I've used them all and
> can't really 
> recommend one over the other so suit yourself).
> 
> Ruben
>  

http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031120022835.43690.qmail>