RE: backup system for RHEL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] 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@xxxxxxxxxx?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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux