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
|
|