BackupPC-users

Re: [BackupPC-users] Debian/CentOs System Image/Dump

2008-06-05 19:14:19
Subject: Re: [BackupPC-users] Debian/CentOs System Image/Dump
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: Stefan Mosleitner <mosleitnermailings AT web DOT de>
Date: Thu, 05 Jun 2008 18:14:59 -0500
Stefan Mosleitner wrote:
> 
> I would like to backup "hot", clonezilla needs to reboot...

Typically you would do an image copy infrequently, perhaps only when the 
disk layouts change.  Then you can restore that (usually pretty quick) 
and drop your current backups on top to bring it up to date.  On windows 
this may be the only way to get everything.

> Could you explain the tar-possibility a little more in detail..

Boot a run-from-CD Linux version that can bring up the network 
interface, use fdisk and mkfs to make partitions and filesystems to 
approximately match the original layout and mount the filesytems 
somewhere.  Then cd to the filesystem you want to restore (or what will 
be the root if you didn't back up by filesystem and have set up the same 
structure on the new disks), figure out the command line command you 
need for backuppc to generate a tar file and run it like:
umask 0
ssh backuppc_server /path/to/BackupPC_tarCreate -h host -n -1 -s share |
  tar -xpvf -


Then you'll need to run grub to make the new disk bootable.  If you've 
installed on LVM this becomes a bit more complicated and if you use 
SELinux you'll need to do something to make it relabel the contexts.

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/