Deploying Endpoint Backup with config

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

Re: Deploying Endpoint Backup with config

Veeam Logoby Vitaliy S. » Mon Dec 14, 2015 2:37 pm

Please review the existing topic for available options. On a side note, can you please answer my question in the post above?
Is this for internal usage or you would like to provide backup as a service to your clients?
Vitaliy S.
Veeam Software
 
Posts: 19236
Liked: 1070 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Deploying Endpoint Backup with config

Veeam Logoby humannate » Sun Dec 27, 2015 2:47 am 1 person likes this post

Here's what's needed:

Ability to remotely or via command-line PUSH a backup destination and schedule to an endpoint that only has Veeam Endpoint Backup installed (via /slient).

Simplest way would be to just extend the existing command line options to add switches to configure the backup destination location, credentials, included backup items and set the schedule. This would be simliar to the built-in wbadmin.exe command-line tool for configuring and scheduling Windows Backup:

wbadmin enable backup
[-addtarget:<BackupTarget>]
[-removetarget:<BackupTarget>]
[-schedule:<TimeToRunBackup>]
[-include:<VolumesToInclude>]
[-nonRecurseInclude:<ItemsToInclude>]
[-exclude:<ItemsToExclude>]
[-nonRecurseExclude:<ItemsToExclude>][-systemState]
[-allCritical]
[-vssFull | -vssCopy]
[-user:<UserName>]
[-password:<Password>]
[-quiet]

Obviously this is possible with the LabTech and Kaseya add-ons, but there doesn't seem to be any documentation on what APIs these add-ons are using. Plenty of people use other RMM tools besides these two, or just manage everything via command-line scripts using Chef/KixTart/Ansible etc.

Another option would be to use Veeam B&R to be able to centrally manage and push out new configurations to endpoints in batches. This option would need to support the ability to limit the number of backup jobs running to a single repository, though. (Command-line options can be scripted to stagger the job schedule when pushing out to lots of endpoints).
humannate
Novice
 
Posts: 5
Liked: 1 time
Joined: Sun Dec 27, 2015 2:33 am
Full Name: Nate Cartwright

Re: Deploying Endpoint Backup with config

Veeam Logoby Dima P. » Mon Dec 28, 2015 12:31 pm

Hello Nate,
Thank you for the priceless feedback!
other RMM tools besides these two

I wonder what RMM tools are in your list? :)

P.S. There is no VEB plugin for Kaseya – only for LabTech.
Dima P.
Veeam Software
 
Posts: 5847
Liked: 418 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Deploying Endpoint Backup with config

Veeam Logoby humannate » Tue Jan 05, 2016 12:23 am

Hi Dima,

We still have some break-fix clients where all we have is batch and powershell scripts available to us, so some kind of command-line interface to set a veeam repository as the backup target and some kind of daily schedule would be ideal, as this we could guarantee would work for all clients, particularly if we change RMM tools down the road.

We've used Labtech before but found it buggy and clunky. We currently use a combination of Microsoft Deployment Toolkit (MDT) and Ansible for configuration management. Currently we use LogicNow MaxRemote, and have used LogMeIn for some clients. There's just so many RMM tools out there (even LogMeIn and Comodo have "RMM" tools now), it would be hard to have plugins for all of them. MaxRemote pretty much *only* supports scripts for management, and obviously Chef and Ansible are script-only.

Reporting of failed backups via SMTP (with SSL/TLS authentication) is pretty important as well, though it looks like that's already handled via the Veeam B&R v8 Console, which is great.
humannate
Novice
 
Posts: 5
Liked: 1 time
Joined: Sun Dec 27, 2015 2:33 am
Full Name: Nate Cartwright

Re: Deploying Endpoint Backup with config

Veeam Logoby john.willis » Wed Jan 20, 2016 8:53 pm

If its SQL based, sqlcmd with a configuration.sql file?

If we knew or understood how a backup job configuration is stored. I presume we could export the changes and use the SQL server cmd line tool to export and import those to a desktop.
john.willis
Novice
 
Posts: 4
Liked: never
Joined: Wed Jan 20, 2016 6:24 pm
Location: College Station, Texas, USA
Full Name: John Willis

Re: Deploying Endpoint Backup with config

Veeam Logoby Vitaliy S. » Thu Jan 21, 2016 10:22 am

John, It is indeed stored in the SQL database, but we don't have it documented.

humannate wrote:We've used Labtech before but found it buggy and clunky. We currently use a combination of Microsoft Deployment Toolkit (MDT) and Ansible for configuration management. Currently we use LogicNow MaxRemote, and have used LogMeIn for some clients. There's just so many RMM tools out there (even LogMeIn and Comodo have "RMM" tools now), it would be hard to have plugins for all of them. MaxRemote pretty much *only* supports scripts for management, and obviously Chef and Ansible are script-only.

Out of curiosity, what version of LabTech RMM did you use?
Vitaliy S.
Veeam Software
 
Posts: 19236
Liked: 1070 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Deploying Endpoint Backup with config

Veeam Logoby john.willis » Sun Jan 24, 2016 11:04 pm

Thank you for the confirmation it is stored in the .sql database, that is useful to know.

That it is undocumented makes sense, unfortunately, database development tends to proceed with little or no documentation on many projects in the real world.

But the good thing is its simply an .sql entry and a commandline parser already exists, so its merely a matter of developing a template in a flat file. Low effort and low cost.

If or when that comes around, I'm sure many users will find it quite useful.
john.willis
Novice
 
Posts: 4
Liked: never
Joined: Wed Jan 20, 2016 6:24 pm
Location: College Station, Texas, USA
Full Name: John Willis

Re: Deploying Endpoint Backup with config

Veeam Logoby Vitaliy S. » Mon Jan 25, 2016 10:22 am

Not sure that pre-setting configuration via SQL query would be enough for remote configuration, but we are keeping this feature in mind (central management and remote configuration for VEB).
Vitaliy S.
Veeam Software
 
Posts: 19236
Liked: 1070 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Deploying Endpoint Backup with config

Veeam Logoby humannate » Mon Jan 25, 2016 10:23 pm

We used LabTech from 2011 through 2015, with most of the versions that were released. The Veeam Backup plugin was okay for viewing status of jobs, but actually changing anything never worked, like most of LabTech's "advanced" integration features, including their ShadowProtect plugin, VNC, and remote command-line. I have little faith the Veeam Endpoint Plugin will work to configure backups if the server-level plugin doesn't even work.

It seems nearly always easier to simply script these kinds of integrations, as you can be much more precise in what you want things to do rather than relying on a third-party's interpretation, especially with LabTech as features are very commonly non-functional or break version-to-version.
humannate
Novice
 
Posts: 5
Liked: 1 time
Joined: Sun Dec 27, 2015 2:33 am
Full Name: Nate Cartwright

Re: Deploying Endpoint Backup with config

Veeam Logoby Vitaliy S. » Tue Jan 26, 2016 11:51 am

humannate wrote:The Veeam Backup plugin was okay for viewing status of jobs, but actually changing anything never worked, like most of LabTech's "advanced" integration features, including their ShadowProtect plugin, VNC, and remote command-line. I have little faith the Veeam Endpoint Plugin will work to configure backups if the server-level plugin doesn't even work.

It's quite surprising to hear that VBR plug-in didn't work in your case. It works quite well for 2500 partners and current solution for central management of VEB is very well adopted. If you still have an option to return to LabTech, our support team would be able to assist you with proper configuration and deployment. Let me know if you need that help!

Anyway, your feedback on having central management (deploying with config) for VEB is appreciated.
Vitaliy S.
Veeam Software
 
Posts: 19236
Liked: 1070 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Deploying Endpoint Backup with config

Veeam Logoby jeff_the_IT_guy » Fri Feb 19, 2016 11:56 pm 1 person likes this post

Thanks for the great info thus far. We are currently working with AutoTask AEM for an RMM solution. It does support scripting to deploy software packages and I intend to see if the above-mentioned commands can help me with the configuration. I'd love to put in a request for full integration with Autotask. I love the ability to provide our managed customers with a bare metal backup solution for their critical workstations. Thanks!
jeff_the_IT_guy
Lurker
 
Posts: 1
Liked: 1 time
Joined: Fri Feb 19, 2016 11:48 pm
Full Name: Jeffrey Tapp

Re: Deploying Endpoint Backup with config

Veeam Logoby Vitaliy S. » Fri Mar 11, 2016 12:03 pm

Hi Jeffrey, there are no short-term plans for integration with Autotask, but thanks for your feedback!
Vitaliy S.
Veeam Software
 
Posts: 19236
Liked: 1070 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Deploying Endpoint Backup with config

Veeam Logoby Astorian » Thu Mar 17, 2016 1:40 pm 1 person likes this post

Hello,
it is possible to connect to the veeam endpoint backup database VeeamBackup.mdf (located in %windir%\system32\config\systemprofile\) with SQL Management Studio.
You can find the connection SqlInstancePipeName, username and password in registry: HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Endpoint Backup
The VeeamBackupDatabase has lots of tables, but it seems it will be possible to reverse engineer the values. For Example dbo.BJobs schedulle value is a XML structure:
Code: Select all
<RepeatTimeUnit>hour(s)</RepeatTimeUnit>
  <RepeatTimeUnitMs>3600000</RepeatTimeUnitMs>
  <RetryTimes>3</RetryTimes>
  <RetryTimeout>10</RetryTimeout>
  <RetrySpecified>true</RetrySpecified>
  <WaitForBackupCompletion>true</WaitForBackupCompletion>
  <BackupCompetitionWaitingPeriodMin>180</BackupCompetitionWaitingPeriodMin>
  <OptionsDaily>
    <Enabled>true</Enabled>
    <Kind>Everyday</Kind>
    <Days>
      <DayOfWeek>Monday</DayOfWeek>
      <DayOfWeek>Tuesday</DayOfWeek>
      <DayOfWeek>Wednesday</DayOfWeek>
      <DayOfWeek>Thursday</DayOfWeek>
      <DayOfWeek>Friday</DayOfWeek>
      <DayOfWeek>Saturday</DayOfWeek>
      <DayOfWeek>Sunday</DayOfWeek>
    </Days>
    <Time>2016-03-17T10:45:00</Time>
    <CompMode>Normal</CompMode>
  </OptionsDaily>
  <OptionsMonthly>
    <DayOfMonth>
      <Day>1</Day>
    </DayOfMonth>
    <Enabled>false</Enabled>
    <Time>2016-03-17T22:00:00</Time>
    <DayNumberInMonth>Fourth</DayNumberInMonth>
    <DayOfWeek>Saturday</DayOfWeek>
    <Months>
      <EMonth>January</EMonth>
...

So it should be possible to deploy a sql command to insert the required rows into the DB.
What do you think?

Astorian
Astorian
Lurker
 
Posts: 2
Liked: 1 time
Joined: Thu Mar 17, 2016 12:01 pm
Full Name: Ondrej Pristach

Re: Deploying Endpoint Backup with config

Veeam Logoby Vitaliy S. » Thu Mar 17, 2016 3:56 pm

Astorian, you can definitely reverse engineer it, but this kind of deployment/configuration will not be officially supported in case of any issues.
Vitaliy S.
Veeam Software
 
Posts: 19236
Liked: 1070 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Deploying Endpoint Backup with config

Veeam Logoby yosemity » Fri Mar 18, 2016 8:25 pm

Astorian,
I have found out the following.

First of all, i suggest to try to deploy email alerts. As far as i understood, nesessary settings are stored in dbo.Options and dbo.Credentials, e.g:

dbo.Options, field "email_notification":
Code: Select all
<CMailOptions>
  <Bcc />
  <Cc />
  <CredentialsId>{6FA18A59-4912-447B-81F4-B1FF262DC2C1}</CredentialsId>
  <Enabled>True</Enabled>
  <From>VeeamEndpoint@domain.ru</From>
  <OnFailure>True</OnFailure>
  <OnSuccess>True</OnSuccess>
  <OnWarning>True</OnWarning>
  <OnLastRetryOnly>True</OnLastRetryOnly>
  <Port>587</Port>
  <Server>smtp.yandex.ru</Server>
  <Subject>[%JobResult%] %ComputerName% - %CompletionTime%</Subject>
  <Timeout>180000</Timeout>
  <To>VeeamEndpoint@domain.ru</To>
  <UseSsl>True</UseSsl>
</CMailOptions>

(pay attention to two setting "FROM" and "TO", may be it is possible to set different values)

dbo.Credentials contains fields "id" (conforms with "CredentialsId" from "email_notification), "username", "password".
yosemity
Influencer
 
Posts: 18
Liked: 3 times
Joined: Wed Jun 24, 2015 11:57 am
Full Name: Mikhail

PreviousNext

Return to Veeam Agent for Windows



Who is online

Users browsing this forum: Krzysztof_S, ssimakov and 11 guests