I have read a dozen or so scripts to safely shutdown a vhdx, copy it to a local backup drive and restart the vhdx but none of them work, not one. Maybe my scenario is off but here is the foundation: host =MS server 2012 std 64bit, 2 x 128 ssd o/s, 2 x
1Tb data drives (one for backup), I have 2 vhdx's - 1=Active Directory running MS Server 2008 32bit and 2nd running MS Server 2012 std 64bit for files and a sql express db (probably sql express 2008r2 or 2012). I need a powershell script (or any
other for that matter - have tried combination of ps1 & bat files) that will properly shut down the vhdx's (presently Drive H -Hyper-V), copy them to drive D -Backup and then restart the vhdx's. I would like this to run daily at a prescribed time
or realtime, do not want to merge files so differential out, need a notice or FILO to insure the backup does not utilize more space then what is available (delete previous version would be nice), and possibly send an email upon completion. Expected size of
AD = 60-80Gb, expected size of File/Db backup 400Gb. Size of hd = 1Tb for backup. Is there a way to do this or am I pipe dreaming and should I buy vhdx backup software / program and if so, any recomendations?