+ Post New Thread
Results 1 to 6 of 6
Thin Client and Virtual Machines Thread, ESXi ghettoVCB Backups in Technical; We've had ghettoVCB configured here for our ESXi box for a number of months, but now the backups are not ...
  1. #1

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    240

    ESXi ghettoVCB Backups

    We've had ghettoVCB configured here for our ESXi box for a number of months, but now the backups are not working. When I try to run the script manually with:

    /vmfs/volumes/LocalDisk/scripts/ghettoVCB.sh -f /vmfs/volumes/LocalDisk/scripts/vms_to_backup

    It comes up saying "snapshot exists, not backing up this VM" - the thing is, there are no snapshots/images/whatever on our NAS drive where it backs up to (it's completely empty).

    Any ideas?

  2. #2
    apaton's Avatar
    Join Date
    Jun 2009
    Location
    Kings Norton
    Posts
    283
    Thank Post
    53
    Thanked 106 Times in 87 Posts
    Rep Power
    35
    Quote Originally Posted by Hightower View Post
    "snapshot exists, not backing up this VM" -
    I'm not an expert on Getto, but sound like the VM has already has a snapshot.
    Does Getto say which VM it failed to backup ?

    Run the following command to see if a specific VM has a snapshot already.

    Using VMA otherwise use vCenter Gui
    List VM's on ESXi host
    Code:
    vmware-cmd -H <ESXi host> -l
    Test to see if they have snapshot enabled.
    Code:
    vmware-cmd -H <ESXi host> <VMFS PATH>/<VM>.vmx hassnapshot

    Regards

    Andy

  3. #3
    Duke's Avatar
    Join Date
    May 2009
    Posts
    1,014
    Thank Post
    300
    Thanked 172 Times in 158 Posts
    Rep Power
    57
    I think Apaton knows VMware way better than I do, but also use the datastore browser to manually look at that VM's folder to see if there are any existing snapshot files. Sometimes snapshots can become disowned by ESXi and even though ESXi doesn't think there are any snapshots, the files are still there which will cause GhettoVCB to fail.

    Chris

  4. #4

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    240
    I think it's a case of the snapshots becoming unlinked to the host, which could be caused if the ghettoVCB script is halted. As for the vmware-cmd post - my ESXi doesn't have this available.

    Never-the-less, I think the solution is to create a snapshot for the machines that fail to backup and then delete ALL snapshots from within vSphere.

    Trying this now but it takes a while so will post up it's success when I've tested it.

  5. #5
    apaton's Avatar
    Join Date
    Jun 2009
    Location
    Kings Norton
    Posts
    283
    Thank Post
    53
    Thanked 106 Times in 87 Posts
    Rep Power
    35
    Quote Originally Posted by Hightower View Post
    I think it's a case of the snapshots becoming unlinked to the host, which could be caused if the ghettoVCB script is halted. As for the vmware-cmd post - my ESXi doesn't have this available.

    Never-the-less, I think the solution is to create a snapshot for the machines that fail to backup and then delete ALL snapshots from within vSphere.

    Trying this now but it takes a while so will post up it's success when I've tested it.
    I agree in that sounds like the snapshot have been dissociated, Duke's suggestion would show this.

    As regards vmware-cmd, I would suggest installing a VMA (VMware Management Assistant) VM . Its very useful for managing ESXi environments from scripts/cli and its free!


    Andy

  6. Thanks to apaton from:

    Duke (30th March 2010)

  7. #6

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    240
    Quote Originally Posted by apaton View Post
    I agree in that sounds like the snapshot have been dissociated, Duke's suggestion would show this.

    As regards vmware-cmd, I would suggest installing a VMA (VMware Management Assistant) VM . Its very useful for managing ESXi environments from scripts/cli and its free!


    Andy
    Ah, I used to have a vMA machine but couldn't find a use for it (until now) so scrapped it. There are files that look like snapshot files but I don't want to just manually delete them - but I think if I do it the way I stated above it should get rid of them.

    I will let you know

SHARE:
+ Post New Thread

Similar Threads

  1. ESXi Backups
    By Hightower in forum Thin Client and Virtual Machines
    Replies: 17
    Last Post: 6th May 2010, 11:03 AM
  2. Backups
    By Batman in forum *nix
    Replies: 12
    Last Post: 20th May 2009, 10:03 AM
  3. How many backups?
    By Hightower in forum General Chat
    Replies: 9
    Last Post: 8th May 2009, 08:09 PM
  4. Backups
    By Gatt in forum How do you do....it?
    Replies: 5
    Last Post: 5th February 2006, 11:44 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •