Re: Hard Disk Backup Question



Ralph De Witt wrote:
Hi All:
I have a Dell Inspiron E1705 Computer with a 80 gig hard drive. I also have a Western Digital 500 gig My Book External USB Hard Drive attached. I would like to Back up the entire hard drive to a partition on the external drive. I have very little knowledge of how to do this. I have always backed up to a CD individual files after a data loss. I thought a auto backup routine would work, but the computer may not be on when the backup would be scheduled, and the external hard drive partition do not seem to want to auto mount so that would not work. I am using the kde desk top. Could some one add to my knowledge and help me out? TIA

If you want to make a backup of the physical hard drive, such that you could just replace the drive with an identical drive and recreate it, you need to boot from a CD, such as the Fedora rescue CD, and just copy the contents. Assuming that the external drive is sdb, mounted on /mnt/external (for example):
dd if=/dev/sda bs-1M | gzip -3 >/mnt/external/2007-10-04-1410-image.gz

Note that the image must be restored to an identical hard drive, since it's an image of the whole disk. It might work on a larger drive, but you might not use, or even have access to, the whole drive.

There are various utilities to do this, g4u being popular. This has some of the same limitations, but is easy to use. Because it's based on netBSD (AFAIK) the drivers are not identical, but it can backup over a network using ftp.

There are commercial products which do this, use Google, I haven't used any in several years and can't suggest.

Finally, you can backup the contents of the critical data (or all files) using programs like rsync, or using tar, cpio, or star. These require manual partitioning of a replacement drive, restore, and rerunning grub by hand, but offer more flexibility.

You can also put an incremental backup program call in your shutdown sequence, to be sure you back up anything you have done in a current session.

Hope that's a useful overview of the possibilities, I'm not sure just what features you need, and there's always a tradeoff between convenience of restoring a single lost file and that of restoring everything.

--
Bill Davidsen <davidsen@xxxxxxx>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Cant boot. Trying recovery console. How long to examine disk
    ... you would always be recloning the backup partition ... BACK to the source drive partition for a restore operation, ... it for - testing out programs, and restoring a backup) would be imaging. ... than a disk-cloning program such as the Casper program I've been ...
    (microsoft.public.windowsxp.general)
  • Re: Restoring an image after repartitioning the image restore drive?
    ... When one restores an image of their system drive partition, ... Suppose the backup drive originally has ... I keep saving generational images of my system drive to that 100 GB ... I'm assuming that restoring an image can impact partition size ...
    (microsoft.public.windowsxp.general)
  • Re: Restoring backups
    ... I would like to add commands that verify the contents of the backup, ... partition tables to disk, when I could zip through the FreeBSD ... While this is perfectly good when restoring to the same disk or to one ...
    (comp.unix.bsd.freebsd.misc)
  • Re: PC Complete Restore failed to restore
    ... Restoring with TI you can select the partition, you can also select to have ... backup due to faulty proprietary software. ... the VHD image appears that it can be used a la such third party ...
    (microsoft.public.windows.vista.installation_setup)
  • Re: Backup best practices...
    ... Worst case scenario for each of my customers ... if the server were to sit off for a week: They would use their offline files ... from the backup remote pop3 accounts (that we keep for when COX or SBC ... Try restoring to a new hard drive. ...
    (microsoft.public.windows.server.sbs)