hi,
i would like to do a backup script to backup my VMs on a SAN. What is the better way to do it?
should i use vcbmounter and restore? and how?
or should i just tar the /vmfs/volume/Storage/VM1 directory?
thank you
You are running vcbmount from the same ESX.
In this use use ghettoVCB, that can help you.
See the link in:
Andre
For SAN mode the best way is use VCB.
See the relative guide and also:
http://viops.vmware.com/home/docs/DOC-1392
More info on Virtual Machine Backup Guide:
http://www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_vm_backup.pdf
Andre
i had a smb disk to backup my VMs
i tried vcbMounter but it didn't work... there is a problem with the .vmdk...
can you help me?
vcbMounter -h localhost -u **** -p ***** -a name:wiki01 -r /backup/san/wiki01 -t fullvm -m nbd
Current working directory: /backup
Copying "[Storage2RAID5] wiki01/wiki01.vmx":
0%=====================50%====================100%
**************************************************
Copying "[Storage2RAID5] wiki01/wiki01.nvram":
0%=====================50%====================100%
**************************************************
Copying "[Storage2RAID5] wiki01/vmware-19.log":
0%=====================50%====================100%
**************************************************
Copying "[Storage2RAID5] wiki01/vmware-20.log":
0%=====================50%====================100%
**************************************************
Copying "[Storage2RAID5] wiki01/vmware-21.log":
0%=====================50%====================100%
**************************************************
Copying "[Storage2RAID5] wiki01/vmware-16.log":
0%=====================50%====================100%
**************************************************
Copying "[Storage2RAID5] wiki01/vmware-17.log":
0%=====================50%====================100%
**************************************************
Copying "[Storage2RAID5] wiki01/vmware-18.log":
0%=====================50%====================100%
**************************************************
Copying "[Storage2RAID5] wiki01/vmware.log":
0%=====================50%====================100%
**************************************************
Converting "scsi0-0-0-wiki01.vmdk" (compact file):
0%=====================50%====================100%
You are running vcbmount from the same ESX.
In this use use ghettoVCB, that can help you.
See the link in:
Andre
i tried.... but i have a probleme with the wiki01-flat.vmdk file... It's blocked at 1%
2009-11-27 11:57:23 -- info: ============================== ghettoVCB LOG START ==============================
2009-11-27 11:57:23 -- info: CONFIG - VM_BACKUP_VOLUME = /backup/san
2009-11-27 11:57:23 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
2009-11-27 11:57:23 -- info: CONFIG - DISK_BACKUP_FORMAT = zeroedthick
2009-11-27 11:57:23 -- info: CONFIG - ADAPTER_FORMAT = buslogic
2009-11-27 11:57:23 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2009-11-27 11:57:23 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2009-11-27 11:57:23 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3
2009-11-27 11:57:23 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2009-11-27 11:57:23 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2009-11-27 11:57:23 -- info: CONFIG - LOG_LEVEL = info
2009-11-27 11:57:23 -- info: CONFIG - BACKUP_LOG_OUTPUT = stdout
2009-11-27 11:57:23 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0
2009-11-27 11:57:23 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2009-11-27 11:57:23 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all
2009-11-27 11:57:26 -- info: Initiate backup for wiki01
2009-11-27 11:57:26 -- info: Creating Snapshot "ghettoVCB-snapshot-2009-11-27" for wiki01
Destination disk format: VMFS zeroedthick
Cloning disk '/vmfs/volumes/Storage2RAID5/wiki01/wiki01.vmdk'...
Clone: 1% done.
on my smd disk:
3.07 KB | Thu Jan 22 02:49:59 2009 | |
138.43 MB | Thu Jan 22 02:51:21 2009 |
hi again,
it works with ghetto...
thank you