I am trying to run a PreBackupScript and a PostBackupScript for a protected Hyper-V virtual machine.
The vm runs on a Windows Server 2016 failover cluster and runs Windows Server 2016 as the guest OS.
I modified ScriptingConfig.xml to match what I have used before, including using instructions by Mike Jacquet in this forum on how to obtain the DataSourceName for Hyper-V virtual machines.
The virtual machine itself is named TFS2018 and using Mike's instructions I issued this SQL Query:
select ComponentName,caption from tbl_RM_RecoverableObject
order by cast (Caption as nvarchar)
A subset of the results:
ComponentName caption
C:\ClusterStorage\Volume1\Tfs2018\TFS2018.vhdx C:\ClusterStorage\Volume1\Tfs2018\TFS2018.vhdx
A28F5AAC-9D57-4007-AC0A-9B77EACCBF20 TFS2018
I am using A28F5AAC-9D57-4007-AC0A-9B77EACCBF20 as the DataSourceName.
Is that correct?
The recovery point job runs ok, but it looks like the scripts are ignored.
Protection group looks like this:
ScriptingConfig: