|
xen guest backups
Hi all,
I need to start doing backups of my VM's.
I currently create new VM's by copying an existing partition using dd, I was wondering if I could create a backup like this but instead of dd to a new partition could I dd to a file and ftp this to my backupp location?
To create a vm in my current setup I use:
lvcreate -L 10GB -n root.name.com systemvol
mkfs -t ext3 /dev/systemvol/root.name.com
dd if=/dev/systemvol/root.source.com of=/dev/systemvol/root.name.com conv=notrunc,noerror
So Could I do something like:
dd if=/dev/systemvol/root.source.com of=/etc/tmp/myvm.file conv=notrunc,noerror
Any pointers would be most welcome.
Tks,
Owen.
|