Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Deploying Endpoint Backup with config

Post by Dima P. »

Mikhail,

Latest VEB 1.5 has a built it email notification feature - worth checking :wink:
yosemity
Influencer
Posts: 18
Liked: 3 times
Joined: Jun 24, 2015 11:57 am
Full Name: Mikhail
Contact:

Re: Deploying Endpoint Backup with config

Post by yosemity »

Dmitry,

I'm trying to find a way to automatic deploy email settings.
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Deploying Endpoint Backup with config

Post by Vitaliy S. »

Mikhail, automatic configuration deployment is not available yet, but thanks for the feedback!
yosemity
Influencer
Posts: 18
Liked: 3 times
Joined: Jun 24, 2015 11:57 am
Full Name: Mikhail
Contact:

Re: Deploying Endpoint Backup with config

Post by yosemity »

Vitaliy I know, that automatic configuration deployment is not available, but I want to find a workaround.
BSlattery
Novice
Posts: 5
Liked: never
Joined: Aug 03, 2009 2:21 pm
Full Name: Brad Slattery
Contact:

Re: Deploying Endpoint Backup with config

Post by BSlattery »

Just want to add my vote for being able to automate the VEB configuration process. :)
yosemity
Influencer
Posts: 18
Liked: 3 times
Joined: Jun 24, 2015 11:57 am
Full Name: Mikhail
Contact:

Re: Deploying Endpoint Backup with config

Post by yosemity »

I test solution with parsing registry and put data through SqlLocalDB.exe.
yosemity
Influencer
Posts: 18
Liked: 3 times
Joined: Jun 24, 2015 11:57 am
Full Name: Mikhail
Contact:

Re: Deploying Endpoint Backup with config

Post by yosemity »

Bad news.
Set email settings directly to SQL LocalDB for VeeamEndpointBackup is impossible. Table dbo.Credentials contains password field, but it stored in encrypted form. Same passwords on different computers are various. There is now way to find encrypting algorithm. Attempt to set encrypted password string from other computer failed. May be use SMTP-server without authentication will be work, but it is unacceptable for me. Perhaps, later I am back to work on the task.

UPD. Empy password also encrypted with various salt ("change_time_utc field"?) =((
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Deploying Endpoint Backup with config

Post by Dima P. »

Mikhail,

Told you. We do not have any supported or even non-supported hints on 'how to centrally distribute configurations' now.
randres
Novice
Posts: 6
Liked: never
Joined: Mar 26, 2016 1:59 am
Full Name: Ryan Andres
Contact:

Re: Deploying Endpoint Backup with config

Post by randres »

I created an autoit script to automate the configuration. Not my first choice, but it works. I run it as part of my MDT task sequence.
yosemity
Influencer
Posts: 18
Liked: 3 times
Joined: Jun 24, 2015 11:57 am
Full Name: Mikhail
Contact:

Re: Deploying Endpoint Backup with config

Post by yosemity »

randres,

Can you share source code for your AutoIT script?
goster
Lurker
Posts: 1
Liked: never
Joined: Apr 01, 2016 12:00 pm
Full Name: greg
Contact:

Re: Deploying Endpoint Backup with config

Post by goster »

Yes I would also like the script
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Deploying Endpoint Backup with config

Post by Dima P. »

This autoit looks like a tool that can interact with UI in automated mode. Might be a possible workaround indeed.
randres
Novice
Posts: 6
Liked: never
Joined: Mar 26, 2016 1:59 am
Full Name: Ryan Andres
Contact:

Re: Deploying Endpoint Backup with config

Post by randres »

Sorry, I didn't see any replies to the thread. Here is my script. It uses all keyboard commands, as I couldn't get mouse clicks to work properly. This uses a Veeam repository, so if you want to use a shared drive instead, you'll need to modify the script.

Code: Select all

#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.3.14.2
 Author:         Ryan Andres

 Script Function: Configure Veeam Endpoint Backup
Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here
If Not FileExists(@ProgramFilesDir & "\Veeam\Endpoint Backup\Veeam.EndPoint.Backup.exe") Then
Exit
Else
Run (@ProgramFilesDir & "\Veeam\Endpoint Backup\Veeam.EndPoint.Backup.exe")
WinWaitActive ("Configure Backup")
Send ("!b") ;File Level Backup
Send ("!n") ;Next
Sleep (500)
Send ("{RIGHT}")
Send ("u") ;Users
Send ("{SPACE}") ;Select Users
Send ("!n") ;Next
Sleep (500)
Send ("!v") ;Veeam Repository
Send ("!n") ;Next
Sleep (500)
Send ("server") ;Server
Send ("{TAB}")
Send ("{SPACE}") ;Provide Credentials
Send ("{TAB}")
Send ("username") ;Credentials
Send ("{TAB}")
Send ("password") ;Credentials
Send ("!n") ;Next
Sleep (10000)
Send ("{DOWN}") ;Select Veeam Repository
Send ("!n") ;Next
Sleep (500)
Send ("!k") ;Lock
Send ("!t") ;When backup target connected
Send ("!c") ;Next
Sleep (10000)
Send ("!f") ;Finish
EndIf
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Deploying Endpoint Backup with config

Post by Dima P. »

Ryan,

As yosemity pointed in another community this workaround might be challenging, if your computer has a UAC enabled. So it seems that you have to allow this application (and script) to bypass the UAC somehow, which might be challenging.
randres
Novice
Posts: 6
Liked: never
Joined: Mar 26, 2016 1:59 am
Full Name: Ryan Andres
Contact:

Re: Deploying Endpoint Backup with config

Post by randres »

i convert the script to an executable and then import that executable as an application into MDT. Once there, I run that application as a step in my MDT deployment, as those steps run as administrator and bypass UAC. If you run the script after the fact, you'll get a UAC prompt, which will have to be answered first. I haven't found a way to work around that, but it seems to work fine with MDT.
lupoz91
Novice
Posts: 3
Liked: never
Joined: May 15, 2015 9:04 am
Contact:

Re: Deploying Endpoint Backup with config

Post by lupoz91 »

Hi randers,
can you share with me the script you converted as exe or maybe give me some examples? I want to import too he configuration in configmgr2012 and push the configuration silently to the clients, but I don't know how to do it...

Thank you for you help
randres
Novice
Posts: 6
Liked: never
Joined: Mar 26, 2016 1:59 am
Full Name: Ryan Andres
Contact:

Re: Deploying Endpoint Backup with config

Post by randres »

Here is the current script I am using, save it with an .au3 extension. You'll need to modify it for your environment and your backup choices. To convert to an exe, you can either right click and choose "compile" or open the script in the autoit editor and then choose Tools -> Compile to convert it. I use this in MDT and what I did was create an application package using this compiled exe and then I added a step in my task sequence to install that application. This runs the script and configures Veeam. Hope this help. Cheers.

Code: Select all

#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.3.14.2
 Author:         Ryan Andres

 Script Function: Configure Veeam Endpoint Backup
	Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here
If Not FileExists(@ProgramFilesDir & "\Veeam\Endpoint Backup\Veeam.EndPoint.Backup.exe") Then
Exit
Else
Run (@ProgramFilesDir & "\Veeam\Endpoint Backup\Veeam.EndPoint.Backup.exe")
WinWaitActive ("Configure Backup")
Send ("!b") ;File Level Backup
Send ("!n") ;Next
Sleep (500)
Send ("{DOWN}")
Send ("{DOWN}")
Send ("{RIGHT}")
Send ("u") ;Users
Send ("{SPACE}") ;Select Users
Send ("!n") ;Next
Sleep (500)
Send ("!v") ;Veeam Repository
Send ("!n") ;Next
Sleep (500)
Send ("server") ;Server
Send ("{TAB}")
Send ("{SPACE}") ;Provide Credentials
Send ("{TAB}")
Send ("username") ;Credentials
Send ("{TAB}")
Send ("password") ;Credentials
Send ("!n") ;Next
Sleep (10000)
Send ("{DOWN}") ;Select Veeam Repository
Send ("!n") ;Next
Sleep (500)
Send ("!k") ;Lock
Send ("!t") ;When backup target connected
Send ("!c") ;Next
Sleep (10000)
Send ("!f") ;Finish
EndIf
lupoz91
Novice
Posts: 3
Liked: never
Joined: May 15, 2015 9:04 am
Contact:

Re: Deploying Endpoint Backup with config

Post by lupoz91 »

Thank you! It works! It's a pity that is is not possible to specify a specific Path to backup (since I don't want to backup all Users but a specific User, and it would be so simple using %USERPROFILE% variable...).

Great work, thanks
steidl
Lurker
Posts: 1
Liked: never
Joined: Apr 22, 2016 8:13 am
Full Name: Anton Steidl
Contact:

[MERGED]: external Configuration File

Post by steidl »

Can I store e.g. Pathes or file-exclusions like *.avi, *.mp3, etc. in a external file for reusing it on
another Client with Veeam Endpoint Backup?
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Deploying Endpoint Backup with config

Post by PTide »

Hi,

Currently you cannot keep file-exclusion rules in a separate config file, however there exist some workarounds - please review the thread to get more info.

Thank you.
randres
Novice
Posts: 6
Liked: never
Joined: Mar 26, 2016 1:59 am
Full Name: Ryan Andres
Contact:

Re: Deploying Endpoint Backup with config

Post by randres »

It looks like the 1.5 version changes the second to last page of the wizard and the "continue" button has been changed to a "save" button instead. In order to get the script working again you'd need to change one line near the bottom of the script from:

Code: Select all

Send ("!c") ;Next
to

Code: Select all

Send ("!s") ;Save
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Deploying Endpoint Backup with config

Post by Dima P. »

Ryan,

Correct. Thanks for sharing the updates!
randres
Novice
Posts: 6
Liked: never
Joined: Mar 26, 2016 1:59 am
Full Name: Ryan Andres
Contact:

Re: Deploying Endpoint Backup with config

Post by randres »

I have made another small change to remedy a situation where the focus is taken away from the installer during an MDT deployment. Change the following code block:

Code: Select all

Run (@ProgramFilesDir & "\Veeam\Endpoint Backup\Veeam.EndPoint.Backup.exe")
WinWaitActive ("Configure Backup")
To:

Code: Select all

Run (@ProgramFilesDir & "\Veeam\Endpoint Backup\Veeam.EndPoint.Backup.exe")
Sleep (8000)
WinActivate ("Configure Backup")
WinWaitActive ("Configure Backup")
I added an 8 second wait to allow the installer to fully launch before grabbing focus of the window again. You can adjust the "sleep" time as needed.
folerx
Expert
Posts: 113
Liked: 8 times
Joined: Jun 22, 2016 9:47 pm
Full Name: Daniel Kaiser
Contact:

Re: Deploying Endpoint Backup with config

Post by folerx »

bump for this...
no new options, only macro recorders like autoit or mouserobot?
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Deploying Endpoint Backup with config

Post by Vitaliy S. »

Yes, since there were no major releases since then, but you can take a look at our recent announcements for new options coming > https://go.veeam.com/launch-event-recorded.html (check out Veeam Agents and Veeam Availability Console videos).
avacchetti
Lurker
Posts: 1
Liked: never
Joined: Jan 16, 2017 4:59 pm
Full Name: AV
Contact:

Re: Deploying Endpoint Backup with config

Post by avacchetti »

Hi,
im looking for change the backup retain value with autoit but till now since no chance. do you think it's possible do it? any suggestion?
thanks
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Deploying Endpoint Backup with config

Post by Vitaliy S. »

Haven't tried that, but you can give it a chance.
AXGuido
Lurker
Posts: 1
Liked: never
Joined: Jan 25, 2017 2:57 pm
Full Name: Guido Langendorff
Contact:

Re: Deploying Endpoint Backup with config

Post by AXGuido »

Why is there not documentation on unattended job definition?
I am new to Veeam and the how-to's are great, but I can not understand the hush-hush on this part.
We are small and also use Autotask. If there is no plan to build a plugin then at least give some info on managing Veeam Desktop unattended.
For us that can be a go or no-go. And with a no-go there is certainly no path to become a paying partner when we grow bigger...
Dima P.
Product Manager
Posts: 14396
Liked: 1568 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Deploying Endpoint Backup with config

Post by Dima P. »

Guido,
Why is there not documentation on unattended job definition?
It's not possible not distribute configuration silently in current version. The possible workaround was suggested here and it requires AutoIt tool
If there is no plan to build a plugin then at least give some info on managing Veeam Desktop unattended.
API for silent configuration deployment is coming in v2.
Post Reply

Who is online

Users browsing this forum: No registered users and 40 guests