Comprehensive data protection for all workloads
Post Reply
Fubber
Novice
Posts: 3
Liked: never
Joined: Jun 18, 2015 12:15 pm
Contact:

Veeam B&R 8 ad Synology DS215J-repository only as SMB

Post by Fubber »

Hi,

im Using Veeam B&R 8.0.0.917 and tried to add My Synology DS215J (Firmware: DSM_DS215j_5565.pat) as an repository Server as an Linux Server with SSH.

First i installed Perl on the NAS
Then i followed this turorial, because the ssh on the NAS needed tweaking: http://blog.millard.org/2014/11/repair- ... linux.html
Then i was able to add the NAS as an Linux server
But when i started to add it as an repository, Veeam tries to start a few scripts on the NAS and then i get an error

Code: Select all

veeam failed to start client agent on the host
i tried this, but i guess that isnt the error: http://www.veeam.com/kb1105

I think that the Synology DS215J with Firmware DSM_DS215j_5565.pat isnt able to be used as an repository in veeam. Perhaps it isnt possible, perhaps its just a bit Linux Tweaking. Anyway, here is my Veeamshel.log, if someone wants to check:

Code: Select all

[18.06.2015 12:36:57] <11> Info             [AP] Starting client agent on 'NAS_IT_1'
[18.06.2015 12:36:57] <11> Info             [AP] Installing agent, source 'D:\Programme\lokale_programme\Veeam\Veeam Backup Replication\Backup\VeeamAgent', target '/tmp/VeeamAgent7df2d6b6-dbb5-4de1-9408-922134962de3'
[18.06.2015 12:36:58] <11> Info             [AP] Starting ssh agent, role 'Client', host 'NAS_IT_1', command '/tmp/VeeamAgent7df2d6b6-dbb5-4de1-9408-922134962de3 -l flush,/var/log/VeeamBackup/Import__job/Agent.VbkManager__cli.log,/tmp/VeeamBackup/Import__job/Agent.VbkManager__cli.log -i f8ab96f7-c0db-4fc8-85d5-191f0ec30593 -g 2500-5000 --setFileLimit 4096'
[18.06.2015 12:36:58] <135> Info                   [AP] (Client) state: ready
[18.06.2015 12:36:59] <135> Info                   [AP] (Client) error: /tmp/VeeamAgent7df2d6b6-dbb5-4de1-9408-922134962de3: line 1: syntax error: unexpected "("
[18.06.2015 12:36:59] <129> Info                   [AP] (Client) state: closed
[18.06.2015 12:41:58] <11> Info             [AP] Disposing CSshAgentService [0x162b4ff]
[18.06.2015 12:41:59] <11> Info             [AP] Disposing CSshAgentFactory [0x3e4a4cf]
[18.06.2015 12:41:59] <11> Info             [AP] Disposed CSshAgentFactory [0x3e4a4cf]
[18.06.2015 12:41:59] <11> Error    Failed to start client agent on the host 'NAS_IT_1' (System.Exception)
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.AgentProvider.CSshAgentFactory.Veeam.Backup.AgentProvider.IAgentFactory.StartClient()
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.AgentProvider.CBackupClientImpl..ctor(IAgentFactory factory)
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.AgentProvider.CBackupClient.StartClient(IAgentFactory clientFactory)
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.Core.CLinAgentManager.StartAgent()
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.AgentProvider.CProxyAgent..ctor(IProxyAgentStarter agentStarter)
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.Core.CBackupRepositoryClient..ctor(CBackupRepository repository, IProxyAgentStarter agentStarter)
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.Core.CRepositoryAccessor.StartOnSpecificHost(String jobName, Guid jobSessionId, CHost specificHost, String logName, String logSubFolder, Boolean agentWithLowPriority, Boolean force64BitMode)
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.Core.CRepositoryAccessor.GetClientContainer(String jobName, Guid jobSessionId, String logName, String logSubFolder, Boolean useAgentWithLowerPriority, Boolean force64BitMode, CHost proxy)
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.Core.CVbkManager.RestartClient()
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.Core.CVbkManager..ctor(CBaseSession jobSession, IStorageAccessor storageAccessor)
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.Core.CImportAlg.ImportBackup(Guid repositoryId, ESyncResult& syncResult)
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.UI.ViJobs.CViBackupJobSettingsController.VerifyRepository(CBackupRepository repository, Guid jobId)
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.UI.ViJobs.CViBackupJobSettingsController.<>c__DisplayClass3.<ValidateRepository>b__1()
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.Common.CBackgroundFunctionRunner.ThreadProc()
[18.06.2015 12:41:59] <11> Error    Timeout to start agent (System.Exception)
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.AgentProvider.CSshAgentService.Start(Boolean redirectOutput)
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.AgentProvider.CClientAgentProtocol..ctor(CAutoRef`1 svcRef, Boolean redirectOutput, Version version)
[18.06.2015 12:41:59] <11> Error       at Veeam.Backup.AgentProvider.CSshAgentFactory.Veeam.Backup.AgentProvider.IAgentFactory.StartClient()
[18.06.2015 12:41:59] <01> Error    Failed to start client agent on the host 'NAS_IT_1'   at Veeam.Backup.Common.CBackgroundFunctionRunner.Run(Function function, Form splashForm, Int32 minShowTime)
[18.06.2015 12:41:59] <01> Error       at Veeam.Backup.Common.CBackgroundFunctionRunner.Run(Function function, String message)
[18.06.2015 12:41:59] <01> Error       at Veeam.Backup.UI.ViJobs.CViBackupJobSettingsController.ValidateRepository(BackupRepositoryCtrl ctrl, CDbBackupJobInfo jobInfo, String& error)
[18.06.2015 12:41:59] <01> Error       at Veeam.Backup.UI.ViJobs.CViBackupJobSettingsController.Validate(EAlgorithm backupAlgorithm, BackupRepositoryCtrl ctrlBackupRepository, Boolean enableFullBackup, Boolean transformFullToSyntethic, Boolean TransformIncrementsToSyntethic, Int32 retainCycles, CDbBackupJobInfo jobInfo, String& error)
[18.06.2015 12:41:59] <01> Error       at Veeam.Backup.UI.HvJobs.CHvBackupJobSettingsController.Validate(BackupJobSettingsCtrl ctrl, CDbBackupJobInfo jobInfo, String& error)
[18.06.2015 12:41:59] <01> Error       at Veeam.Backup.UI.HvJobs.HvBackupWizard.JobSettingsValidate()
[18.06.2015 12:41:59] <01> Error       at Veeam.Backup.UI.HvJobs.HvBackupWizard._wizard_Finish(Object sender, EventArgs e)
[18.06.2015 12:41:59] <01> Error    Timeout to start agent   at Veeam.Backup.AgentProvider.CSshAgentService.Start(Boolean redirectOutput)
[18.06.2015 12:41:59] <01> Error       at Veeam.Backup.AgentProvider.CClientAgentProtocol..ctor(CAutoRef`1 svcRef, Boolean redirectOutput, Version version)
[18.06.2015 12:41:59] <01> Error       at Veeam.Backup.AgentProvider.CSshAgentFactory.Veeam.Backup.AgentProvider.IAgentFactory.StartClient()
[18.06.2015 12:46:30] <133> Info     [Ssh] Connection::Closed
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Veeam B&R 8 ad Synology DS215J-repository only as SMB

Post by Vitaliy S. »

Hi,

Yes, currently, you can add Synology box as a repository server only via Linux/Windows server.

Thanks!
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Veeam B&R 8 ad Synology DS215J-repository only as SMB

Post by PTide »

Hi Fubber,

If you really-really want to use your Synology as a Linux repo server and you are ready to play around with chroot'ing it, then please check this link.

ATTENTION: Of course, "pimping" your DS may result in a loss of warranty. However, folks say that nothing unrecoverably wrong can happen. In the worst case you just roll everything back (I mean chroot your box back to its initial state).

Good luck.
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Veeam B&R 8 ad Synology DS215J-repository only as SMB

Post by foggy »

There's also existing discussion regarding adding Synology NAS as a Linux repository, worth reviewing.
Fubber
Novice
Posts: 3
Liked: never
Joined: Jun 18, 2015 12:15 pm
Contact:

Re: Veeam B&R 8 ad Synology DS215J-repository only as SMB

Post by Fubber »

Vitaliy S. wrote:Hi,

Yes, currently, you can add Synology box as a repository server only via Linux/Windows server.

Thanks!
Do you mean Shared Folder? Because in my case adding an repository as an linux server doesnt work, adding as a shared folder works.

Edit: Thanks for the Link to the existing discussion.
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Veeam B&R 8 ad Synology DS215J-repository only as SMB

Post by foggy »

Aside from CIFS, you can either use NFS share mounted to a Linux server or iSCSI LUN mapped to a Windows/Linux server.
Post Reply

Who is online

Users browsing this forum: No registered users and 309 guests