backup system for RHEL

Geofrey Rainey Geofrey.Rainey at tvnz.co.nz
Thu Jul 23 21:17:03 UTC 2009


Oh and by the way, after the dd is finished you can lvremove the snapshot file.

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of Geofrey Rainey
Sent: Friday, 24 July 2009 9:16 a.m.
To: General Red Hat Linux discussion list
Subject: RE: backup system for RHEL

I use Xen snapshot like so:

1. create a snapshot file - this can probably be quite small (depending on usage but 1G is probably enough)

lvcreate -s -L 1G -n <name of snapshot>
/dev/<volume_group>/<logical_volume_name>

2. then backup your partition with something like this:

dd if=/dev/<volume_group>/<name of snapshot> of=<path/lvm_backup.img> bs=1M

3. if you need to restore, do the following:

dd if=< path/lvm_backup.img of=/dev/<volume_group>/<logical_volume_name>

Of course you'll need as much space as the original partition for this but that's the only solution I think.



-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of ESGLinux
Sent: Friday, 24 July 2009 12:46 a.m.
To: General Red Hat Linux discussion list
Subject: Re: backup system for RHEL

Thanks for your answer,
I´ll take a look at openfiler, it looks great.

One question, how do I make a Xen snapshot? With vmware I see the option,
but with Xen not.

any help?

thanks,

ESG


>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list
==========================================================
For more information on the Television New Zealand Group, visit us
online at tvnz.co.nz 
==========================================================
CAUTION:  This e-mail and any attachment(s) contain information that
is intended to be read only by the named recipient(s).  This information
is not to be used or stored by any other person and/or organisation.


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
==========================================================
For more information on the Television New Zealand Group, visit us
online at tvnz.co.nz 
==========================================================
CAUTION:  This e-mail and any attachment(s) contain information that
is intended to be read only by the named recipient(s).  This information
is not to be used or stored by any other person and/or organisation.





More information about the redhat-list mailing list