Monday, December 8, 2025
Thinware Forums
 
ForumsForumsThinware vBacku...Thinware vBacku...DiscussionsDiscussionsBackup error - The handle is invalid.Backup error - The handle is invalid.
Previous Previous
 
Next Next
New Post
 5/15/2013 8:22 AM
 
 Modified By TC  on 5/16/2013 6:16:52 AM
Hi there,

I've been using the software with varying levels of success. I was originally using the SSH-SCP method but after having read this forum I have moved to the SSH-VVDM method. I also came across the problem with snapshots not being removed but that is easy enough to work around.

I have had issues trying to use task scheduler to run the backup jobs. Since I am trying to backup to a network drive, and the task scheduler starts a new session without any drives mapped, it was failing so I had to write a batch file to map the drive and then get task scheduler to run that. The problem is that it fails every time with "The handle is invalid" error - whole log below.




________________________________________________________________________________
Thinware(R) vBackup(R)
Version: 0.3.0.2073 (Version 0.3) - Expires: 31/05/2013
Copyright (c) 2009-2013 Thinware, Inc. All rights reserved.
Visit us at: www.vbackup.com
________________________________________________________________________________
Process Started: 15/05/2013 10:28:09

Application Settings:
- SMTP Server =
- SMTP Username =
- SMTP Password =
- SMTP From Address =
- Notification Recipients =
- VMware Virtual Disk Development Kit Install Path = C:\Program Files (x86)\VMware\VMware Virtual Disk Development Kit

Execution Arguments:
- Virtual Machine = AD1
- Server = esxi.domain.local:22
- Server Username = admin
- Server Password = *****
- Job = AD1-backup
- Job Type = Backup-Image-SSH-VVDM
- Backup Root = z:\vbackup
- Disk Exclusion = None
- Backups To Keep = 3
- Differentials Between Fulls = 0
- Quiesce Guest File System = True
- Create Snapshot Task Timeout = 15
- Remove Snapshot Task Timeout = 15
- Encrypt Temporary Password File = True
- Compress Backups = False
- Maximum Log Size = 2048
- Backup Type = Image-Full

Validating settings...

SMTP server not provided, e-mail notification is disabled.

Attempting to ping server... Server responded to ping.

Establishing connection to server...

One or more certificate problems encountered while establishing connection
to https://esxi.domain.local/sdk:

* A certification chain processed correctly, but terminated in a root certificate which isn't trusted by the trust provider.
* The certificate's CN name does not match the passed value.

Server Platform: VMware ESXi 5.1.0 799733

Hypervisor property for esxi.domain.local updated.

Verifying virtual machine exists on server... Virtual machine located successfully.

Virtual Machine Guest OS: Microsoft Windows Server 2008 R2 (64-bit)

GuestOS property for AD1 updated.

Backup Folder: z:\vbackup\AD1

Backup: 130515_102828

Log File: z:\vbackup\AD1\vBackup.log

Executing backup job...

Checking for existing temporary snapshot(s)... No snapshots found.

Creating folder for backup data... Done.

Retrieving virtual machine ID... Virtual Machine ID: 6

Creating temporary snapshot... Done.

Obtaining reference to temporary snapshot... Done.

Temporary Snapshot: vBackup-TMP-130515_102828

Copying virtual machine configuration file... CRITICAL: Unable to copy virtual machine configuration file. The handle is invalid.


Process Complete: 15/05/2013 10:28:49

Elapsed Time: 40 seconds
________________________________________________________________________________]







To be clear, the backups work if invoked from the vBackup console. They also work if I run from the command line i.e. "C:\Program Files (x86)\Thinware\vBackup\vBackup.exe" -v AD1

I have included my batch file below





________________________________________________________________________________
echo Start >>c:\users\vbackup\documents\debug_log.txt 2>&1
date /t >>c:\users\vbackup\documents\debug_log.txt 2>&1
time /t >>c:\users\vbackup\documents\debug_log.txt 2>&1
net use z: /delete >>c:\users\vbackup\documents\debug_log.txt 2>&1
net use z: \\nasdrive\backup >>c:\users\vbackup\documents\debug_log.txt 2>&1
"C:\Program Files (x86)\Thinware\vBackup\vBackup.exe" -v AD1 >>c:\users\vbackup\documents\debug_log.txt 2>&1

other identical backup jobs here

date /t >>c:\users\vbackup\documents\debug_log.txt 2>&1
time /t >>c:\users\vbackup\documents\debug_log.txt 2>&1
echo End >>c:\users\vbackup\documents\debug_log.txt 2>&1
________________________________________________________________________________







Thanks for your time!
Regards
Tim
New Post
 5/16/2013 3:49 AM
 
Thank you Tim for the great post.

We will get started troubleshooting this and get back to you on our findings. We may be a little slower than normal as we are currently working hard to wrap-up development and testing on the final release of version 0.3.0.

We will get back to you as soon as possible.


Thank you,

vBackup Team
Previous Previous
 
Next Next
ForumsForumsThinware vBacku...Thinware vBacku...DiscussionsDiscussionsBackup error - The handle is invalid.Backup error - The handle is invalid.

Thinware Community
Membership Membership:
Latest New User Latest: Ludwighench
New Today New Today: 0
New Yesterday New Yesterday: 0
User Count Overall: 41258

People Online People Online:
Visitors Visitors: 19
Members Members: 0
Total Total: 19

Privacy Statement  |  Terms Of Use
Copyright 2007-2019 Thinware, Inc.