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 lupoz91 » Fri Apr 15, 2016 3:52 pm

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
lupoz91
Novice
 
Posts: 3
Liked: never
Joined: Fri May 15, 2015 9:04 am

Re: Deploying Endpoint Backup with config

Veeam Logoby randres » Mon Apr 18, 2016 1:54 am

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
randres
Novice
 
Posts: 6
Liked: never
Joined: Sat Mar 26, 2016 1:59 am
Full Name: Ryan Andres

Re: Deploying Endpoint Backup with config

Veeam Logoby lupoz91 » Mon Apr 18, 2016 8:04 am

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
lupoz91
Novice
 
Posts: 3
Liked: never
Joined: Fri May 15, 2015 9:04 am

[MERGED]: external Configuration File

Veeam Logoby steidl » Fri Apr 22, 2016 9:23 am

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?
steidl
Lurker
 
Posts: 1
Liked: never
Joined: Fri Apr 22, 2016 8:13 am
Full Name: Anton Steidl

Re: Deploying Endpoint Backup with config

Veeam Logoby PTide » Fri Apr 22, 2016 10:39 am

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.
PTide
Veeam Software
 
Posts: 3076
Liked: 250 times
Joined: Tue May 19, 2015 1:46 pm

Re: Deploying Endpoint Backup with config

Veeam Logoby randres » Tue May 17, 2016 2:49 pm

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
randres
Novice
 
Posts: 6
Liked: never
Joined: Sat Mar 26, 2016 1:59 am
Full Name: Ryan Andres

Re: Deploying Endpoint Backup with config

Veeam Logoby Dima P. » Tue May 17, 2016 9:02 pm

Ryan,

Correct. Thanks for sharing the updates!
Dima P.
Veeam Software
 
Posts: 6384
Liked: 448 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Deploying Endpoint Backup with config

Veeam Logoby randres » Mon Jul 18, 2016 2:02 pm

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.
randres
Novice
 
Posts: 6
Liked: never
Joined: Sat Mar 26, 2016 1:59 am
Full Name: Ryan Andres

Re: Deploying Endpoint Backup with config

Veeam Logoby folerx » Tue Aug 30, 2016 10:36 pm

bump for this...
no new options, only macro recorders like autoit or mouserobot?
folerx
Expert
 
Posts: 105
Liked: 8 times
Joined: Wed Jun 22, 2016 9:47 pm
Full Name: Daniel Kaiser

Re: Deploying Endpoint Backup with config

Veeam Logoby Vitaliy S. » Tue Aug 30, 2016 10:53 pm

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).
Vitaliy S.
Veeam Software
 
Posts: 19689
Liked: 1115 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Deploying Endpoint Backup with config

Veeam Logoby avacchetti » Tue Jan 17, 2017 7:32 pm

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
avacchetti
Lurker
 
Posts: 1
Liked: never
Joined: Mon Jan 16, 2017 4:59 pm
Full Name: AV

Re: Deploying Endpoint Backup with config

Veeam Logoby Vitaliy S. » Wed Jan 18, 2017 9:56 am

Haven't tried that, but you can give it a chance.
Vitaliy S.
Veeam Software
 
Posts: 19689
Liked: 1115 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: Deploying Endpoint Backup with config

Veeam Logoby AXGuido » Wed Jan 25, 2017 3:23 pm

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...
AXGuido
Lurker
 
Posts: 1
Liked: never
Joined: Wed Jan 25, 2017 2:57 pm
Full Name: Guido Langendorff

Re: Deploying Endpoint Backup with config

Veeam Logoby Dima P. » Wed Jan 25, 2017 10:18 pm

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.
Dima P.
Veeam Software
 
Posts: 6384
Liked: 448 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Previous

Return to Veeam Agent for Windows



Who is online

Users browsing this forum: No registered users and 12 guests