[NTLUG:Discuss] Full system backup-restore for Desktop PC

David I S Mandala davidm at them.com
Wed Jun 29 10:53:43 CDT 2005


On Wed, 2005-06-29 at 10:30 -0500, ntlug at levelofdetail.com wrote:
> I have two of the same model and size internal Seagate drives. For
> backup I've booted from Knoppix and done dd from hda to hdb - as easy
> and complete as it gets, but not particularly convenient. This has saved
> me a couple times.
> 
> Once a disk image is copied would it then be safe to do backups just by
> partition mounting and file copying?
> 

If you are not running lilo it is, if you are never copy /boot/vmlinu?
that lilo is booting from. If you are running grub it will find the file
if it's moved.

> For example, my home directory is on hda4, so:
> 
> Make directory and mount backup home directory partition:
>    mkdir /mnt/hdbhome
>    mount /dev/hdb4 /mnt/hdbhome
> 
> Copy from hda home directory partition to hdb:
>    cp -ruv /home/ /mnt/hdbhome/
> 
> Would this be safe for partitions containing system level files - a
> running kernel, files tracking processes, etc? Would I be able to boot
> from hdb with no problems if needed?
> 

I'd use rsync instead of cp. It has a couple of advantages. It can
easily restart and it only copies diffs not the entire file so it's
faster.

> Ed
> 
> 
> 
>      
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
-- 
David Mandala <davidm at them dot com>
www.them.com/~davidm Public Key id: 45B2D952
Murphy TX, 75094 214.774.2569 HO 972.693.4007 C





More information about the Discuss mailing list