List Info

Thread: backup existing sata drive




backup existing sata drive
user name
2006-09-29 22:08:53
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?

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?

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

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
backup existing sata drive
user name
2006-09-29 23:10:04
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-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
backup existing sata drive
user name
2006-09-29 22:46:16
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.ISO
8859-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&aprop
os=0&sektion=0&manpath=FreeBSD+6.1-RELEASE&forma
t=html

basically:
dd if=/dev/sourcedisk of=/dev/backupdisk bs=1m
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
backup existing sata drive
user name
2006-09-30 10:11:39
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" <pgiesselmac.com> 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.ISO
8859-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&aprop
os=0&sektion=0&manpath=FreeBSD+6.1-RELEASE&forma
t=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-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )