Help Center
Choose product document...
Veeam Backup & Replication 9.5
User Guide for VMware vSphere

Pre-Freeze and Post-Thaw Scripts

If you plan to copy VMs running applications that do not support VSS, you can instruct Veeam Backup & Replication to run custom pre-freeze and post-thaw scripts for these VMs. The pre-freeze script quiesces the VM file system and application data to bring the VM to a consistent state before Veeam Backup & Replication triggers a VM snapshot. After the VM snapshot is committed, the post-thaw script brings the VM and applications to their initial state.

To specify pre-freeze and post-thaw scripts for the job:

  1. At the Guest Processing step, click Applications.
  2. In the displayed list, select the VM and click Edit.
  3. Click the Scripts tab.
  4. In the Script processing mode section, specify the scenario for scripts execution:
  • Select Require successful script execution if you want Veeam Backup & Replication to stop the VM copy process if the script fails.
  • Select Ignore script execution failures if you want to continue the VM copy process even if script errors occur.
  • Select Disable script execution if you do not want to run scripts for the VM.
  1. In the Windows scripts section, specify paths to pre-freeze and post-thaw scripts for Microsoft Windows VMs. Veeam Backup & Replication supports scripts in the EXE, BAT and CMD format.
  2. In the Linux scripts section, specify paths to pre-freeze and/or post-thaw scripts for Linux VMs. Veeam Backup & Replication supports scripts of the SH file type.

If you have added to the job a VM container with Microsoft Windows and Linux VMs, you can select to execute both Microsoft Windows and Linux scripts for the VM container. When the job starts, Veeam Backup & Replication will automatically determine what OS type is installed on the VM and apply corresponding scripts to quiesce this VM.

Pre-Freeze and Post-Thaw Scripts Tip:

Beside pre-freeze and post-thaw scripts for VM quiescence, you can instruct Veeam Backup & Replication to run custom scripts before the job starts and after the job completes. For more information, see Advanced Settings.

Pre-Freeze and Post-Thaw Scripts 

Related Topics

Pre-Freeze and Post-Thaw Scripts

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation