Forum Discussion

bsarazin's avatar
bsarazin
Level 3
14 years ago

Remote Agent question

A freeze.bat file was placed on a vm (in backupScripts.d) when backup exec remote agent for windows servers was installed on the machine. I need to know if freeze.bat should execute during the back...
  • tech29's avatar
    14 years ago

    HI There,

    freeze.bat  file is placed by Backup Exec on the VM when you install the remote agent.   This file is placed so that VMWARE can use this file to run scripts before and after the SNAPSHOT process that aids in getting the guest operating system to pause the activity in Windows so that the snapshot can occur without interruption.

    When Backup Exec sends a backup request to VMWARE, then VMWARE goes to search for the existence of these files.  If they exist, the BAT files will be run by VMWARE before and after the snapshot creation.  If there is an issue running the scripts, the snapshot creation will not succeed and cause the backup to fail.  The following error can be seen in the TASK & EVENTS tab for the CREATE VIRTUAL MACHINE SNAPSHOT event on the virtual machine that was selected for backup.

    "CREATING A QUIESCED SNAPSHOT FAILED BECAUSE THE (USER-SUPPLIED) CUSTOM PRE-FREEZE SCRIPT IN THE VIRTUAL MACHINE EXITED WITH A NON-ZERO RETURN CODE"

    so to conclude this .bat file is placed in the folder by Backup Exec so that VMWARE can use this .bat file to take a snapshot. 

    if this .bat is not executed during the backup then you may contact VMWARE, however, if you find something wrong in the .bat file then you should call Symantec as they have provided this file.

    Hope this helps.

    Regards,

    Tech29