While I provide this option, I caveat with the fact that I also have Bacula 
client installed on the VM to backup either the system state for DCs or the 
applications running on the windows server on an alternate regular schedule.  I 
then use this Technet process to back up the VMs off hours.  Simply backing up 
the VMs is not enough.  I once a week back up the virtual machines using the 
below process.  I backup to an NFS share on my backup server, then I back up 
that to a tape for off site.

https://social.technet.microsoft.com/wiki/contents/articles/216.how-to-back-up-hyper-v-vms-from-the-host-using-windows-server-backup.aspx

For Vmware ESXi we use the following, again configuring this software to back 
up to an NFS share weekly and then putting that on tape for off-site.

http://www.thinware.net/Products/ThinwarevBackup/tabid/202/Default.aspx

Hope this helps.

Jim Richardson

From: Wanderlei Huttel [mailto:wanderleihut...@gmail.com]
Sent: Tuesday, August 29, 2017 12:45 PM
To: Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] how Backup Hyper-V Virtual Machines

Hello Zainelabdeen
You can turn off the machines and make a copy of them with the scripts attached 
and turn them on again

# The FileSet example
FileSet {
  Name = "FileSet_VM_SRV_Intranet"
  Include {
    Options {
       signature = md5
       compression = gzip
       onefs = no
       ignorecase = yes
       accurate = pins5
       verify = pins5
     }
     File = "C:/Hyper-V/Virtual Machines/CC1C79AE-715F-431D-AD53-CF9A7BAB7D9B"
     File = "C:/Hyper-V/Virtual 
Machines/CC1C79AE-715F-431D-AD53-CF9A7BAB7D9B.xml"
     File = "C:/Hyper-V/Virtual Hard Disks/servidor_debian_intranet.vhdx"
  }
}


# The Job Example
Job {
  Name = "Backup_VM_Servidor_Intranet"
  JobDefs = "Backup_Padrao"
  Client = srv_hyperv-fd
  FileSet = "FileSet_VM_SRV_Intranet"
  Schedule = "Agenda_VM_Diaria"
  ClientRunBeforeJob  = "powershell C:/'Program 
Files'/Bacula/scripts/stop_virtual_machine.ps1 SRV_INTRANET"
  ClientRunAfterJob   = "powershell C:/'Program 
Files'/Bacula/scripts/start_virtual_machine.ps1 SRV_INTRANET"
  Enabled = true
  Priority = 10
}



Or you can use wbadmin (Windows Server Backup) to make a hot backup and copy 
the files:
https://blogs.msdn.microsoft.com/virtual_pc_guy/2013/02/25/backing-up-hyper-v-virtual-machines-from-the-command-line/



Best regards

Wanderlei Hüttel
http://www.huttel.com.br

2017-08-29 14:30 GMT-03:00 Zainelabdeen S.A Elgraeed 
<zainc...@gmail.com<mailto:zainc...@gmail.com>>:
I install bacula client on Microsoft server 2012 R2 to backup my VM, I found a 
tutorial to do that on this link :
http://www.ithierarchy.com/ITH/Bacula/BaculaHyper-V

but not work for me.
what your suggestion to complete backup VM.
also, i need help for planning backup scheduling.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/bacula-users

CONFIDENTIALITY: This email (including any attachments) may contain 
confidential, proprietary and privileged information, and unauthorized 
disclosure or use is prohibited. If you received this email in error, please 
notify the sender and delete this email from your system. Thank you.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to