Re: backup existing sata drive

2006-10-02 Thread Damian Wiest
On Sat, Sep 30, 2006 at 03:20:33AM -0700, Dino Vliet wrote:
> Eeh, are the differences between real backup and point
> in time recovery?

Point in time recovery allows you to restore you system to a single 
point in time.  Backups, depending on how they're performed, give you 
multiple points in time from which to recover.

> What I want is to have a identical backup drive at
> every moment in time. So even if I add or delete files
> on my primary hard disk, I would want to have that.
> But then again, if I go this route, if I wipe out my
> whole disk accidentally, the backup would be wiped out
> too? But still, I'm not that stupid or, it never
> happens so I don't think it will happen now. 

You're talking about disk mirroring which will not help you 
if you accidentally delete or overwrite a file.  Use your
system long enough and this _will_ happen.

> So, I think I want to two disk to be identical so that
> gives me less headache if one of them fails.
> 
> Dump can use my ubuntu partition as well so I will be
> able to use that. But that will give me point-in-time
> recovery, right?

Yes.  Keep in mind that dump remembers, via dump levels,  what's been
backed up so it will do incremental backups.

> Geom looks cool, I will start reading the docs and
> look into them. I've found the article of Dru Lavigne,
> and the freebsd handbook has some sections as well
> about it and I've found
> http://www.freebsdwiki.net/index.php/RAID1,_Software,_How_to_setup
> 
> Enough to read before my drives arrive. Hope I won't
> encounter problems because I'm afraid I could loose
> everything.
> 
> Thanks for your answer.

I'd go with GEOM.  Extremely easy to setup and maintain.

-Damian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: backup existing sata drive

2006-09-30 Thread Dino Vliet
Thanks for your answer.

I can mount all the partitions (ubuntu via the
mount_ext2fs command).

So, I could use DD, but then I would have to do this
every time I want to be synchronized.

This would be the firts thing I could try, when the
disk drive arrives. Then I would know I have at least
a  copy of the full disk.

Hmm, I have to think this over, but nice knowing this
is an option.

--- "Peter A. Giessel" <[EMAIL PROTECTED]> wrote:

> On 2006/09/29 14:08, Dino Vliet seems to have typed:
> > I waant to use this extra drive as a backup
> solution.
> > What options do I have?
> 
> 
> Dump is an excellent solution if you can mount all
> partitions
> (see
>
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html
> for details on using dump)
> 
> DD would be another option that would copy the
> entire hard drive sector
> by sector, regardless of the partitions.  If you are
> interested in
> basically a "mirror" sort of situation without
> running RAID, dd is what
> you are looking for.
> 
> dd doesn't care what the partitions are, indeed you
> could even backup
> Microsoft partitions with it.
> 
>
http://www.freebsd.org/cgi/man.cgi?query=dd&apropos=0&sektion=0&manpath=FreeBSD+6.1-RELEASE&format=html
> 
> basically:
> dd if=/dev/sourcedisk of=/dev/backupdisk bs=1m
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: backup existing sata drive

2006-09-29 Thread Peter A. Giessel
On 2006/09/29 14:08, Dino Vliet seems to have typed:
> I waant to use this extra drive as a backup solution.
> What options do I have?


Dump is an excellent solution if you can mount all partitions
(see
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html
for details on using dump)

DD would be another option that would copy the entire hard drive sector
by sector, regardless of the partitions.  If you are interested in
basically a "mirror" sort of situation without running RAID, dd is what
you are looking for.

dd doesn't care what the partitions are, indeed you could even backup
Microsoft partitions with it.

http://www.freebsd.org/cgi/man.cgi?query=dd&apropos=0&sektion=0&manpath=FreeBSD+6.1-RELEASE&format=html

basically:
dd if=/dev/sourcedisk of=/dev/backupdisk bs=1m
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: backup existing sata drive

2006-09-29 Thread Damian Wiest
On Fri, Sep 29, 2006 at 03:08:53PM -0700, Dino Vliet wrote:
> Good evening peeps,
> I have this 80gb sata seagate harddisk in my freebsd
> amd64 system. This harddisk is partioned so I can dual
> boot with Ubuntu. So I have data on my freebsd
> partition as well as on my ubuntu partition.
> 
> As I'm getting paranoia, I would like to know how to
> get by this situation, now that I've ordered a new
> sata seagate 80gb harddrive.
> 
> I waant to use this extra drive as a backup solution.
> What options do I have?

Do you want to do real backups, or just do point in time
recovery?

> a) Can I just plug the new hard drive in and write a
> script that dumps the entire /usr/ directory onto the
> new hard drive? But what about my ubuntu partition
> then?

If you go this route, you'll probably want to use dump(8)
for your filesystems.  Just name the output file according
to the filesystem and date when the dump was performed.

> b) Should I use raid-1, disk mirroring for this
> situation, knowing I will "loose" a whole 80gb disk?
> Will it work for the entire disk? What about the fact
> that I'm NOT starting with two empty disks?
>
> Hope anyone can help me out.
> I've never been there, so these will be my first
> steps.
> 
> Thanks in advanced

I've only used it for a few months, but I'm a big fan of the
GEOM(4) framework.  With gmirror(8), you can specify specific
disk slices to mirror so you don't have to do the entire drive.
It should take you less than five minutes to setup once you've
read the docs.

-Damian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"