11-14-2019 06:36 PM
Hi.
We have an SAP System running on Hyper-V. Windows 2012 R2. We want to backup the VHDs of the VMs which is on CSV using NetBackup 8.1.2. Can anyone help me to get an idea on how to do it?
Thank you.
Jess
Solved! Go to Solution.
11-15-2019 03:01 AM - edited 11-15-2019 03:06 AM
@Jess01 - backing-up the VHD(X) files direct from CSV is not really how you take a backup of a VM in Hyper-V - maybe you could if the VM was shutdown, but I have no idea whether that would result in a restorable/recoverable entity. Likewise no-one backs-up VMDK direct from VMFS data-stores.
Plus you have a live, open, writeable database to deal with.
Here are some options:
1) install NetBackup Client on all Hyper-V hosts in the Hyper-V cluster - then shutdown SAP database, shutdown VM - take a NetBackup Hyper-V style (whole VM) backup of the VM (which essentially achieves what you said in your opening post) - this assumes that the SAP database lives in non-sparse files on NTFS volumes and is not abstracted in any mix of proprietary partition/volume-manager/file-system.
2) install NetBackup Client on all Hyper-V hosts in the Hyper-V cluster - then shutdown SAP database, leave VM up - take a NetBackup Hyper-V style (whole VM) backup of the VM whilst it is up and online (this is pretty much the same as option 1) - same assumptions as option 1.
3) install NetBackup Client inside the VM (i.e. no need to install NetBackup Client on any Hyper-V host) - configure NetBackup Client for SAP and take a SAP database backup - and also take a NetBackup BMR aware backup of the OS elements of the guest VM - assuming interop of NetBackup Client + NetBackup BMR Client + OS family + OS version + LUN format (GPT/MBR) + partition layout + volume manager + file-system type + file-system version + file-system size - all these elements have to be supported interop together to achieve a valid NetBackup BMR Client backup.
11-14-2019 11:27 PM
What database are your SAP database running on ?
11-15-2019 03:01 AM - edited 11-15-2019 03:06 AM
@Jess01 - backing-up the VHD(X) files direct from CSV is not really how you take a backup of a VM in Hyper-V - maybe you could if the VM was shutdown, but I have no idea whether that would result in a restorable/recoverable entity. Likewise no-one backs-up VMDK direct from VMFS data-stores.
Plus you have a live, open, writeable database to deal with.
Here are some options:
1) install NetBackup Client on all Hyper-V hosts in the Hyper-V cluster - then shutdown SAP database, shutdown VM - take a NetBackup Hyper-V style (whole VM) backup of the VM (which essentially achieves what you said in your opening post) - this assumes that the SAP database lives in non-sparse files on NTFS volumes and is not abstracted in any mix of proprietary partition/volume-manager/file-system.
2) install NetBackup Client on all Hyper-V hosts in the Hyper-V cluster - then shutdown SAP database, leave VM up - take a NetBackup Hyper-V style (whole VM) backup of the VM whilst it is up and online (this is pretty much the same as option 1) - same assumptions as option 1.
3) install NetBackup Client inside the VM (i.e. no need to install NetBackup Client on any Hyper-V host) - configure NetBackup Client for SAP and take a SAP database backup - and also take a NetBackup BMR aware backup of the OS elements of the guest VM - assuming interop of NetBackup Client + NetBackup BMR Client + OS family + OS version + LUN format (GPT/MBR) + partition layout + volume manager + file-system type + file-system version + file-system size - all these elements have to be supported interop together to achieve a valid NetBackup BMR Client backup.
11-18-2019 12:05 AM
Hi Bro. Thank you for the response. Do we really need to shutdown the SAP Database before we can backup the VM's?
11-18-2019 12:05 AM
DB2 Sir.
11-18-2019 12:46 AM
11-18-2019 08:07 AM
DB2 - Then you cannot use VSS to create snapshot consistent backup, it only work with MS SQL, use SDO advice.
11-18-2019 07:15 PM
Hi Everyone.
I will do the 3rd option and will update once its done.
Thank you for the help!