Issue backing up to Synology

Backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)

Issue backing up to Synology

Veeam Logoby lammypie » Thu May 28, 2015 11:26 pm

Scenario is as follows:

My Synology NAS has a folder called pc_backups and has a user called veeam that has read/write access. I installed Veeam Endpoint Backup on my PC, pointed to the folder on my NAS and set it to use the veaam user id. The initial backup completed in a very reasonable time.

Now here is where I'm scratching my head.

I configured Endpoint Backup to:
- perform volume level backups of the System Reserved, C: and D; drives
- still writing to the same folder on my NAS using the same user account
- scheduled it to run at a specific time
- leave the PC running once complete

So here is what happens:
- The PC wakes from sleep
- The backup starts but doesn't seem able to find/access the folder on the NAS
- The PC is put back to sleep
- If I then subsequently log on to the PC, I see the above failed attempt but within a few minutes it retries and succeeds

From what I am seeing it would seem that there are two issues:
- The first is that Endpoint Backup for some reason is unable to see/access the share
- Although set to keep the server running, it would seem that this setting is ignored.

Does anyone have any ideas for where I should look to resolve?

I have included a copy of the backup log if this helps diagnose the issue.


Code: Select all
[28.05.2015 21:00:05] <01> Info     [MAIN-PC] [FC] Creating directory '\\SYNOLOGY\PC_Backups\Antec_Main'
[28.05.2015 21:00:05] <01> Error    Failed to call RPC function 'FcCreateDir'. InParams: '<InputArguments><DirName value="\\SYNOLOGY\PC_Backups\Antec_Main" /></InputArguments>'.
[28.05.2015 21:00:05] <01> Error    The network path was not found.
[28.05.2015 21:00:05] <01> Error    Cannot create folder. Folder path: [\\SYNOLOGY\PC_Backups\Antec_Main].
[28.05.2015 21:00:05] <01> Error    --tr:FC: Failed to create directory. Directory path: [\\SYNOLOGY\PC_Backups\Antec_Main].
[28.05.2015 21:00:05] <01> Error    --tr:Failed to call DoRpc. CmdName: [FcCreateDir]. (System.ApplicationException)
[28.05.2015 21:00:05] <01> Error       at VeeamProxyClient.RegenerateCLRException(exception* excBase)
[28.05.2015 21:00:05] <01> Error       at VeeamProxyClient.CCliProxyRpcInvoker.DoRpc(String cmdName, String inXml, String& outXml)
[28.05.2015 21:00:05] <01> Error       at Veeam.Backup.ProxyProvider.CProxyRpcInvoker.Call(String methodName, CProxyInvokeInputArg inputArgs, Boolean secureCall)
[28.05.2015 21:00:05] <01> Error    Backup target is not accessible. (System.Exception)
[28.05.2015 21:00:05] <01> Error       at Veeam.Backup.Core.CBackupRepositoryEx.CreateRootDir()
[28.05.2015 21:00:05] <01> Error       at Veeam.Backup.Core.CBackupRepositoryEx.PrepareBackup(CBackupJob job, Boolean isAdHoc)
[28.05.2015 21:00:05] <01> Error       at Veeam.Backup.Core.CBackupJobTarget..ctor(CBackupJob job, Mode mode, CBackupSession jobSess, IRotatedDriveAlg rotatedDriveAlg, IStopSessionSync sessionControl, ETargetAgentSharingMode agentSharingMode, CRepositoryAccessor repositoryAccessor)
[28.05.2015 21:00:05] <01> Error       at Veeam.EndPoint.CEndPointBackupJobPerformer.Perform()
[28.05.2015 21:00:05] <01> Error    [MAIN-PC] Failed to create directory '\\SYNOLOGY\PC_Backups\Antec_Main' (System.Exception)
[28.05.2015 21:00:05] <01> Error       at Veeam.Backup.ProxyProvider.CProxyFileCommander.CreateDir(String dirPath)
[28.05.2015 21:00:05] <01> Error       at Veeam.Backup.Core.CBackupRepositoryEx.CreateRootDir()
[28.05.2015 21:00:05] <01> Error    The network path was not found.
[28.05.2015 21:00:05] <01> Error    Cannot create folder. Folder path: [\\SYNOLOGY\PC_Backups\Antec_Main].
[28.05.2015 21:00:05] <01> Error    --tr:FC: Failed to create directory. Directory path: [\\SYNOLOGY\PC_Backups\Antec_Main].
[28.05.2015 21:00:05] <01> Error    --tr:Failed to call DoRpc. CmdName: [FcCreateDir]. (System.ApplicationException)
[28.05.2015 21:00:05] <01> Error       at VeeamProxyClient.RegenerateCLRException(exception* excBase)
[28.05.2015 21:00:05] <01> Error       at VeeamProxyClient.CCliProxyRpcInvoker.DoRpc(String cmdName, String inXml, String& outXml)
[28.05.2015 21:00:05] <01> Error       at Veeam.Backup.ProxyProvider.CProxyRpcInvoker.Call(String methodName, CProxyInvokeInputArg inputArgs, Boolean secureCall)
[28.05.2015 21:00:05] <01> Error    The network path was not found. (Veeam.Backup.Common.CCppComponentException)
[28.05.2015 21:00:05] <01> Error    Cannot create folder. Folder path: [\\SYNOLOGY\PC_Backups\Antec_Main]. (Veeam.Backup.Common.CCppComponentException)
[28.05.2015 21:00:05] <01> Error       in c++: FC: Failed to create directory. Directory path: [\\SYNOLOGY\PC_Backups\Antec_Main].
[28.05.2015 21:00:05] <01> Error       in c++: Failed to call DoRpc. CmdName: [FcCreateDir].
lammypie
Influencer
 
Posts: 10
Liked: 2 times
Joined: Thu May 28, 2015 10:56 pm

Re: Issue backing up to Synology

Veeam Logoby Dima P. » Fri May 29, 2015 10:49 am

Hello lammypie,
Have you opened a support case thru the control panel? We might need all the applications logs for investigation purposes. Also could you clarify – are you able to maunally complete the backup to the said share? Thanks.
Dima P.
Veeam Software
 
Posts: 6237
Liked: 439 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Issue backing up to Synology

Veeam Logoby lammypie » Fri May 29, 2015 11:44 am

Hi Dima,

Thank you very much for your reply. I haven't opened a support case as yet but will do based upon your suggestion. As for the backup, the scheduled backup does end up completing, but only once a user has logged onto the PC. Manually triggered backups do not seem to have any problems and run to completion every time.
lammypie
Influencer
 
Posts: 10
Liked: 2 times
Joined: Thu May 28, 2015 10:56 pm

Re: Issue backing up to Synology

Veeam Logoby JaxIsland7575 » Fri May 29, 2015 1:21 pm

Not to jump on top of Veeam support, but this sounds like your network card is not waking from sleep with your PC. Maybe you could try and set the power settings to not sleep the network card. Ive seen issues like this with Intel chipped network cards and Windows 8.1 / 2012 (R2). Just a thought.

Cheers
VMCE v9
JaxIsland7575
Veeam Vanguard
 
Posts: 364
Liked: 98 times
Joined: Mon Apr 27, 2015 1:59 pm
Location: NY, USA
Full Name: Ryan Jacksland

Re: Issue backing up to Synology

Veeam Logoby lammypie » Fri May 29, 2015 4:22 pm

Support case 00929814 now opened.
lammypie
Influencer
 
Posts: 10
Liked: 2 times
Joined: Thu May 28, 2015 10:56 pm

Re: Issue backing up to Synology

Veeam Logoby Dima P. » Fri May 29, 2015 5:12 pm

Thanks for the case ID – I’ve forwarded it to QA department.

I agree with Jax, because similar behavior was previously reported in the other thread (as a feature request, though) - unless the NAS device was in the power saving mode it could not be reached by any other software. Please, check your Synology settings while QA is checking your logs. Thanks.
Dima P.
Veeam Software
 
Posts: 6237
Liked: 439 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Issue backing up to Synology

Veeam Logoby lammypie » Fri May 29, 2015 6:41 pm

Thanks Dima/Jax. I do indeed have an Intel 82579v chipped network card in my PC and have disabled any power saving mode through the registry to see if that changes things. As for the Synology, apart from the disks hibernating after 20 mins of inactivity, there are no other power saving modes set.

I will now test and provide an update.
Regards
lammypie
Influencer
 
Posts: 10
Liked: 2 times
Joined: Thu May 28, 2015 10:56 pm

Re: Issue backing up to Synology

Veeam Logoby lammypie » Fri May 29, 2015 11:45 pm

After making the modifications as advised nothing has changed. Still having the same issue where it doesn't seem to be able to find the folder on the NAS and within a few seconds returns the PC to sleep even though I have asked to keep the PC running.

I feel that there is more than one issue here.
Firstly, upon the first failure (not being able to find the NAS folder), the PC is put to sleep. The PC should not be put back to sleep.
Secondly, why is the application not trying to access the NAS share for the second and third time before giving up?
Thirdly, I am wondering if things are running a little too quickly. It would seem that literally within 2 seconds of the PC waking up, it has performed the first pass, failed and put the PC back to sleep.
lammypie
Influencer
 
Posts: 10
Liked: 2 times
Joined: Thu May 28, 2015 10:56 pm

Re: Issue backing up to Synology

Veeam Logoby lammypie » Sun May 31, 2015 7:35 pm

It would seem that I have a work around until a more permanent solution is found.

If I amend the power settings in the registry entry a change the value for AcSettingIndex from the default 120 (2 mins) to 1800 (30 mins) and then introduce a task to wake up the computer 5 mins prior to the backup this seems to be enough to ensure that the backup succeeds.

My previous backup methods of using Microsoft Backup, Windows Home Server v1, Windows Home Server 2011 and Windows Server 2012 Storage Essentials don't however suffer from this issue problem.
lammypie
Influencer
 
Posts: 10
Liked: 2 times
Joined: Thu May 28, 2015 10:56 pm

Re: Issue backing up to Synology

Veeam Logoby justingoldberg » Mon Jun 01, 2015 3:18 am

This is a bit offtopic, but I have a customer with a windows 7 as the smb client and a 2008 r2 as the server. For some reason when his computer boots the drives are inaccessible for about two minutes after booting. Then he has to open explorer and click the drives. If we script launching this, then we'll receive phone calls asking about why those windows were open, and I haven't figured out a way to script in powershell the following things:

launching explorer
clicking each drive
closing any open explorer windows
--
justingoldberg
Influencer
 
Posts: 10
Liked: 1 time
Joined: Wed May 20, 2015 7:03 pm
Full Name: Justin Goldberg

Re: Issue backing up to Synology

Veeam Logoby lammypie » Mon Jun 01, 2015 6:53 am

I don't think what you have just explained is off topic at all. I believe the underlying issue is related to timing of the backup but will await the findings of the QA department.

As for your specific issue, have you tried using batch files as they should be able to do what you need without the burden of a gui to close afterwards.
lammypie
Influencer
 
Posts: 10
Liked: 2 times
Joined: Thu May 28, 2015 10:56 pm

Re: Issue backing up to Synology

Veeam Logoby justingoldberg » Mon Jun 01, 2015 12:03 pm

lammypie wrote:I don't think what you have just explained is off topic at all. I believe the underlying issue is related to timing of the backup but will await the findings of the QA department.

As for your specific issue, have you tried using batch files as they should be able to do what you need without the burden of a gui to close afterwards.


In this case the customer is not using Veeam, but it seemed similar to the issue above. But I will try a batch file fix.
--
justingoldberg
Influencer
 
Posts: 10
Liked: 1 time
Joined: Wed May 20, 2015 7:03 pm
Full Name: Justin Goldberg

Re: Issue backing up to Synology

Veeam Logoby Dima P. » Wed Jun 03, 2015 4:22 pm

Hi lammypie,
It’s a quick follow up – the logs are still under investigation. I’ll follow up again as soon as hear back anything, thank you for your patience.
Dima P.
Veeam Software
 
Posts: 6237
Liked: 439 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Issue backing up to Synology

Veeam Logoby lammypie » Wed Jun 10, 2015 8:43 am 2 people like this post

Hi Dima,

A quick update to let you know that my "temporary fix" still seems to be working. Is there any update on your investigation?


For anyone in a similar situation To confirm amend the power settings in the registry entry a change the value for AcSettingIndex from the default 120 (2 mins) to 1800 (30 mins) and then introduce a task to wake up the computer 5 mins prior to the backup starting. The location of the power settings in the registry is HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0\DefaultPowerSchemeValues

Within this folder are:

Balanced: 381b4222-f694-41f0-9685-ff5bb260df2e
High Performance: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
Power Saver: a1841308-3541-4fab-bc81-f71556f20b4a

I have changed all in my instance although my power scheme is set to "Balanced".

Hope this helps
lammypie
Influencer
 
Posts: 10
Liked: 2 times
Joined: Thu May 28, 2015 10:56 pm

Re: Issue backing up to Synology

Veeam Logoby Dima P. » Wed Jun 10, 2015 1:49 pm

Hi lammypie,

I happy to hear this solution works, however, it’s strange why adjusting the power saving options on source instead of target NAS helps. I am sorry for delay - still waiting for a reply from QA team, will poke them regarding your case today.
Dima P.
Veeam Software
 
Posts: 6237
Liked: 439 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Next

Return to Veeam Agent for Windows



Who is online

Users browsing this forum: No registered users and 10 guests