This repository contains the default VMSnapshotPluginConfig.json file that need to be copied on the VM to be backed up and then configured
The values that needs to be filled for each parameter
- pluginName - The name of the plugin which by default is "ScriptRunner" (Better dont edit this parameter)
- preScriptLocation - The absolute path of the pre script
- postScriptLocation - The absolute path of the post script
- preScriptParams - This is list of strings. This needs to be populated with parameters that needs to be passed for pre script to execute.
- postScriptParams - This is list of strings. This needs to be populated with parameters that needs to be passed for post script to execute.
- preScriptNoOfRetries - Number of retries that need to be done on failure of pre script
- postScriptNoOfRetries - Number of retries that need to be done on failure of post script
- timeoutInSeconds - This is timeout for each script to execute for all retires(i.e not for each retry) in seconds. Default is 30.
- continueBackupOnFailure - This flag makes the backup to continue when there is failure with scripts(i.e. reading,execution,permissions etc) with "filesystem consistent backup" when set true. Default is true.
- fsFreezeEnabled - file system will be frozen and unfrozen before and after taking the snapshots respcetively when this flag is set true. Default is true.