PowerShell script exchange
Post Reply
MaeckiMac
Novice
Posts: 3
Liked: never
Joined: Nov 30, 2015 1:41 pm
Full Name: Horst Bornschein-Grolms
Contact:

Error: ChannelError: ConnectionReset

Post by MaeckiMac »

ID# 01769023

Hello, I'm running Veeam 8 on a VMware VM and want to backup the whole machine, using VeeamZip.ps1, which uses powershell command Start-VBRZip.
I'm running the script from command line.

powershell.exe C:\Backup\Veeamzip.ps1 -VM 'machine' –Destination "\\192.168.0.16\ESXi-Backups" –AutoDelete "In1Month" –Compression 5 –DisableQuiesce $false Output:

Code: Select all

Job started Building VM list 
VM size: 60,0 GB 
Changed block tracking is enabled 
Preparing next VM for processing 
All VMs have been queued for processing 
Processing machineError: ChannelError: ConnectionReset 
Backup file \\192.168.0.16\ESXi-Backups\Backup_machine_2016-04-19T114513.vbk 
Job finished with error at 19.04.2016 11:54:02 
The file created on my NAS has a size of 30.844 KB
Previously, the backup was working. Last successful run was 20.03.2016
Other machines than the one running Veeam Backup & Replication can be backed up without any errors.
Machine data: Host: VMware ESXi 6.0, 48GB RAM 2 XEON
Guest: Windows 2012 R2 (latest patches), 12 GB RAM, SQL Server 2012
NAS with almost 2 TB free space, 4xGigabit LAN
When I run the script, the machine looses connection (RDP) after a few minutes,
vSphere looses vonnection, too. Veeam admin console shows the error above.
Manual execution on the admin console VeeamZip to \\192.168.0.16\ESXi-Backups does work, by the way. Just a few seconds loosing RDP connection.
What can be wrong? Any ideas? Increase Timeout? Exclude SQL-Server DATA folder?
Thank you in advance

Horst
veremin
Product Manager
Posts: 20283
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Error: ChannelError: ConnectionReset

Post by veremin »

While executing the same task manually, are you also enabling VMware Tools Quiescence or not? The VeeamZIP task should work exactly the same in both cases: manual or automatic execution. Thanks.
MaeckiMac
Novice
Posts: 3
Liked: never
Joined: Nov 30, 2015 1:41 pm
Full Name: Horst Bornschein-Grolms
Contact:

Re: Error: ChannelError: ConnectionReset

Post by MaeckiMac »

Thank you for answering. I used the regular VeeamZip button without options: Right Click machine, (3 options available: VeeamZIP, VeeamZIP to \\192.168.0.16\ESXi-Backups, and Quick Migration) then VeeamZIP to \\192.168.0.16\ESXi-Backups. After one minute I loose RDP connection for about 9 cycles, then reconnects again. The VeeamZIP is working.
Ressource Explorer shows, that Network, Memory and CPU is ok (normal), but the Disk is in heavy use for about three minutes.
Application Eventvwr shows
EventID's 3197 on all MSSQL instances,
for example: I/O is frozen on database master. No user action is required. However, if I/O is not resumed promptly, you could cancel the backup.
After everything RDP returns (back to normal)
EventID 3198 on all MSSQL instances. For example: I/O was resumed on database model. No user action is required.
After that: Event ID 18264
Database backed up. Database: VeeamBackup, creation date(time): 2015/07/24(13:45:37), pages dumped: 8249, first LSN: 7922:924:18, last LSN: 7922:934:1, number of dump devices: 1, device information: (FILE=1, TYPE=VIRTUAL_DEVICE: {'{72B4A4CD-CC6D-41B5-9A35-FB1A3E57D95F}3'}). This is an informational message only. No user action is required.
System Eventvwr shows
EventID 7036
The VMware Snapshot Provider service entered the running state.
EventID 7036
The Volume Shadow Copy service entered the running state.
EventID 1
The system time has changed to ‎2016‎-‎04‎-‎21T06:55:02.906000000Z from ‎2016‎-‎04‎-‎21T06:52:23.382432900Z.
Change Reason: An application or system component changed the time.
So, your question was, if I enable VMware Tools Quiescence. I don't know. It is the manual thing, I can check the other option, where i can choose "Disable guest quiescence (performs crash consistent backup)"
veremin
Product Manager
Posts: 20283
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Error: ChannelError: ConnectionReset

Post by veremin »

I was checking whether automatic (via PS) and manual runs were the same in terms of VMware Quiescense settings, and based on the provided answers it sounds like they were.

Kindly, keep working with our support team on addressing that.

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests