Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
X-ian
Novice
Posts: 4
Liked: 1 time
Joined: Nov 02, 2020 7:33 am
Full Name: Christian
Location: Hamburg area, Germany
Contact:

Upgrading Agent from 5.0.3 to 6.0.0 via CLI

Post by X-ian »

Hello everyone,

I'm trying to update Veeam Agent on remote machines via CLI.

Code: Select all

VeeamAgentWindows_6.0.0.960.exe /silent /accepteula /acceptthirdpartylicenses
Unfortunately, the setup wizard exits with exit code 1004. Executing the installer via normal double click works just fine but I'm asked to migrate the database. After that, reinstalling via CLI also returns code 1000. Shouldn't the installer do the migration unless I tell it not to with /skipmigration? Or am I doing anything wrong? The same switches have worked ever since from at least any V5.x, as I recall.
Dima P.
Product Manager
Posts: 14417
Liked: 1576 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Upgrading Agent from 5.0.3 to 6.0.0 via CLI

Post by Dima P. »

Hello and welcome to the forums Christian,

Indeed VeeamAgentWindows_6.0.0.960.exe /silent /accepteula /acceptthirdpartylicenses should install new version on top of v5 and migrate the database settings. Any chance you have a case ID to share?
Dima P.
Product Manager
Posts: 14417
Liked: 1576 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Upgrading Agent from 5.0.3 to 6.0.0 via CLI

Post by Dima P. »

QA team believes that the issue with database migration itself, is it possible to raise a support ticket and share the case ID with us? Thank you!
X-ian
Novice
Posts: 4
Liked: 1 time
Joined: Nov 02, 2020 7:33 am
Full Name: Christian
Location: Hamburg area, Germany
Contact:

Re: Upgrading Agent from 5.0.3 to 6.0.0 via CLI

Post by X-ian »

Hello Dima,

the support ID is #05891277.

Best regards
Christian
Dima P.
Product Manager
Posts: 14417
Liked: 1576 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Upgrading Agent from 5.0.3 to 6.0.0 via CLI

Post by Dima P. »

Perfect, passed to the QA team. Thank you Christian!
guiper
Lurker
Posts: 1
Liked: never
Joined: Feb 22, 2023 7:25 pm
Full Name: Guillermo Perez Iglesias
Contact:

Re: Upgrading Agent from 5.0.3 to 6.0.0 via CLI

Post by guiper »

Hello, I was only able to do the upgrade making workaround with localdb:

"C:\Program Files\Microsoft SQL Server\110\Tools\Binn\sqllocaldb.exe" s v11.0 >nul 2>&1
ping -n 5 127.0.0.1 >nul 2>&1
for /F "delims=" %%f IN ('dir /b "%~dp0bin\VeeamAgentWindows_6*.exe"') DO (
"%~dp0bin\%%f" /silent /accepteula /acceptthirdpartylicenses
) >nul 2>&1
"C:\Program Files\Microsoft SQL Server\110\Tools\Binn\sqllocaldb.exe" p v11.0 >nul 2>&1

Best regards,
Guillermo
X-ian
Novice
Posts: 4
Liked: 1 time
Joined: Nov 02, 2020 7:33 am
Full Name: Christian
Location: Hamburg area, Germany
Contact:

Re: Upgrading Agent from 5.0.3 to 6.0.0 via CLI

Post by X-ian »

Hi Guillermo,

I am using PsExec to start the setup on the remote machines from my PC. Unfortunately, your workaround did not work for me.

Best regards,
Christian
Dima P.
Product Manager
Posts: 14417
Liked: 1576 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Upgrading Agent from 5.0.3 to 6.0.0 via CLI

Post by Dima P. »

QA and Support folks are investigating the case, indeed they suspect localdb to misbehave during migration. Stay tuned!
X-ian
Novice
Posts: 4
Liked: 1 time
Joined: Nov 02, 2020 7:33 am
Full Name: Christian
Location: Hamburg area, Germany
Contact:

Re: Upgrading Agent from 5.0.3 to 6.0.0 via CLI

Post by X-ian » 1 person likes this post

Hello all,

adding the -s switch to PsExec helped. The SYSTEM context is able to migrate the LocalDB.

Best regards,
Christian
Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests