Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 975
  • Last Modified:

_vcb-backup_ snap shot problem.

I am rying to schedule vcbmounter fullvm and file level backups on my vcb proxy and want add
a command in my bat file that deletes the  _vcb-backup_ that is resident on my VMs preventing the next vcb mounter backups. Does anyone have a simple command ?
0
cap7
Asked:
cap7
  • 4
1 Solution
 
FilipZahradnikCommented:
Option 1:
The VCB snapshot should be deleted when you unmount the VCB image.
To unmount the image, run the following command:
vcbmounter -h <vc_hostname> -u <username> -U <mount_path>
Example:
vcbmounter -h vc01.company.com -u viadmin -U c:\vcbmount\vm01
Option 2:
Run the "vcbCleanup.bat -y" command. This script is designed to clean up after unsuccessful backup jobs where the post-backup script never runs. If you do not include the -y switch, it will run in interactive mode, asking you questions. You can get help for the vcbCleanup.bat by running "vcbCelanup.bat -h"
0
 
FilipZahradnikCommented:
Both vcbmounter.exe and vcbCleanup.bat are located in folder C:\Program Files\VMware\VMware Consolidated Backup Framework on your VCB proxy.
0
 
FilipZahradnikCommented:
0
 
cap7Author Commented:
I found out  from vm support that I needed to us the post-command.wsf because the snapshot was created by the pre-command.wsf.
0
 
FilipZahradnikCommented:
Yes, as a general rule you need to use both the pre and post commands. Exact details depend on your backup tool. The post command will unmout the images, which will delete the temporary snapshots.
VMware also recommends running the vcbCleanup after the backup job ends. This is mainly because some backup tools do not execute the post command if the job fails.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now