_vcb-backup_ snap shot problem.

Posted on 2009-02-24
Last Modified: 2012-06-21
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 ?
Question by:cap7
    LVL 9

    Expert Comment

    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>
    vcbmounter -h -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"
    LVL 9

    Expert Comment

    Both vcbmounter.exe and vcbCleanup.bat are located in folder C:\Program Files\VMware\VMware Consolidated Backup Framework on your VCB proxy.
    LVL 9

    Expert Comment


    Author Comment

    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.
    LVL 9

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    I have installed vmware Esxi 5 , it was all working fine. But one day I faced a problem when loading modules of vsphere 5 , Vmware ESxi 5 hung on loading with the message “cnic_Register Loaded Sucessfully” I read too many articles but found no ar…
    This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
    Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
    Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now