Jonathan Dill wrote:
> partimage is another efficient tool that I have used for cloning disks, 
> it skips blocks that the filesystem thinks are free / not in use, 
> supports a network mode, but the filesystem can't be in use, although it 
> could be read-only.  If you use xfs, you could use xfs_freeze to freeze 
> the filesystem before running partimage, then unfreeze when you are done.
> 
> http://www.partimage.org/Main_Page
> 
> I have only used the dialog GUI, but it does have a pure CLI.  The 
> simplest thing would probably be to just save the image on the remote 
> end, not sure how you would restore the image on the fly at the 
> receiving end, but it may be possible.

http://clonezilla.sourceforge.net/clonezilla-live/

If you don't mind rebooting the server and having it down for the 
duration of the copy, clonezilla-live wraps a set of partition 
copy/compress/save/restore tools that handle most filesystems (windows 
or linux) and are scripted so you can clone a whole disk or just one 
partition.  It's a good tool to know about if you use backuppc since it 
will let you do quick bare-metal restores of critical machines. The 
partition image can be stored locally or remotely via nfs, samba, or 
ssh, and it includes a script to build a bootable dvd that will restore 
the machine if the image will fit.  (Hmmm, now that I think about it, it 
would be nice if backuppc also had an option to save the partition 
layout and could feed a similar 'restore the whole disk' script in the 
Linux case at least).

The programs and scripts used in clonezilla-live might be a good 
starting point for something that could work without rebooting, but 
you'd still have to unmount the partition or work from an LVM snapshot. 
Then there is still the problem of trying to rsync a copy elsewhere 
efficiently, which isn't going to work well after compression.


-- 
   Les Mikesell
    [EMAIL PROTECTED]




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to