Comprehensive data protection for all workloads
Post Reply
mkretzer
Veeam Legend
Posts: 1203
Liked: 417 times
Joined: Dec 17, 2015 7:17 am
Contact:

[V12] Veeam 12 PG database location

Post by mkretzer »

Hello,

we are currently installing a new Veeam system. The OS disk is not very large (500 GB) and there is a dedicated RAID for Veeam (currently MSSQL) Database.

When we switch to V12 will it be possible to have the integrated Postgresql instance use the other drive?

Markus
Mildur
Product Manager
Posts: 9848
Liked: 2607 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Veeam 12 PG database location

Post by Mildur » 2 people like this post

Hi Markus

As with MSSQL Server, you can install Or create a new PG database (manually) on any disk you want and then restore the configuration database to a database on that disk.
Upgrading to V12 will not migrate your veeam configuration database to PG. This is a manual process after the upgrade. Only new implementations of VBR are using PG as the default database.

Thanks
Fabian
Product Management Analyst @ Veeam Software
pmfna
Novice
Posts: 8
Liked: never
Joined: Jan 04, 2022 4:01 pm
Full Name: PALM
Contact:

Re: Veeam 12 PG database location

Post by pmfna »

Hi,

I was able to migrate the vbr sql db to postgres within backup configuration restore (needed to setup a postgres instance, used the binaries within the ISO), but i could not find a way to do the same thing for the enterprise manager db, can anyone share is there is a way right now ?

regards
Gostev
Chief Product Officer
Posts: 31814
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Veeam 12 PG database location

Post by Gostev »

There's a special command line tool with a telling name that included with V12. Be aware it only supports one-way migrations though, so there's no going back to SQL Server. The process will be documented in time for GA but I remember proofreading its built-in help and it was pretty self explanatory.

I would recommend against doing such migrations for existing installations at this time though, as at least initially they will be considered an experimental support feature. The current expectation is that any new deployments will use PostgreSQL while existing customers continue happily with their existing SQL Servers, not touching what's working until PostgreSQL integration goes through its teething issues so we can confidently recommend such migration to all customers. Plus there are some actual known issues with the process you have already successfully performed... as far as I understand, they may trigger depending on the size of the configuration database, if PostgreSQL decides it's time to run some optimization tasks immediately following the arrival of much new data.
pmfna
Novice
Posts: 8
Liked: never
Joined: Jan 04, 2022 4:01 pm
Full Name: PALM
Contact:

Re: [V12] Veeam 12 PG database location

Post by pmfna »

Hello,

this is a LAB environment, so I'll have a look at this tool, is the tool installed with V12 or it is present on the ISO?

Can you please share more info :-) thanks
Gostev
Chief Product Officer
Posts: 31814
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: [V12] Veeam 12 PG database location

Post by Gostev »

Yes, it should be in the V12 installation folder, very sorry I can't provide the detailed info right now (writing this on the go) but from what I remember it should be an EXE with EM+Migration words in its name.
pmfna
Novice
Posts: 8
Liked: never
Joined: Jan 04, 2022 4:01 pm
Full Name: PALM
Contact:

Re: [V12] Veeam 12 PG database location

Post by pmfna »

Hi,

never mind :-) i've found it :-D

Veeam.EM.DB.Migration
RubinCompServ
Service Provider
Posts: 326
Liked: 78 times
Joined: Mar 16, 2015 4:00 pm
Full Name: David Rubin
Contact:

Re: Veeam 12 PG database location

Post by RubinCompServ » 1 person likes this post

Mildur wrote: Aug 23, 2022 5:49 am Only new implementations of VBR are using PG as the default database.
Will we still be able to use SQL with new implementations of VBR, or will we be locked to Postgres?
chris.childerhose
Veeam Vanguard
Posts: 636
Liked: 154 times
Joined: Aug 13, 2014 6:03 pm
Full Name: Chris Childerhose
Location: Toronto, ON
Contact:

Re: [V12] Veeam 12 PG database location

Post by chris.childerhose » 2 people like this post

You will be able to use SQL, but you will need to either install SQL Express on the local machine or direct it to a SQL Server that is not the VBR one. The installer only has PostgreSQL now for installation.
-----------------------
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
Cyril
Influencer
Posts: 10
Liked: never
Joined: Jun 14, 2010 7:48 am
Contact:

Re: [V12] Veeam 12 PG database location

Post by Cyril »

Hello,

The EXE still exists in the RTM version ?
I cannot found it

Thanks for help
Gostev
Chief Product Officer
Posts: 31814
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: [V12] Veeam 12 PG database location

Post by Gostev »

The discussion above IS about the RTM version.
chris.childerhose
Veeam Vanguard
Posts: 636
Liked: 154 times
Joined: Aug 13, 2014 6:03 pm
Full Name: Chris Childerhose
Location: Toronto, ON
Contact:

Re: [V12] Veeam 12 PG database location

Post by chris.childerhose »

Cyril wrote: Feb 10, 2023 10:18 am Hello,

The EXE still exists in the RTM version ?
I cannot found it

Thanks for help
No, they have removed the SQL installer from the ISO, so you need to download that separately and install it ahead of time.
-----------------------
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
Gostev
Chief Product Officer
Posts: 31814
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: [V12] Veeam 12 PG database location

Post by Gostev »

@chris.childerhose he is asking about Veeam.EM.DB.Migration.exe
chris.childerhose
Veeam Vanguard
Posts: 636
Liked: 154 times
Joined: Aug 13, 2014 6:03 pm
Full Name: Chris Childerhose
Location: Toronto, ON
Contact:

Re: [V12] Veeam 12 PG database location

Post by chris.childerhose »

Oh my bad. Sorry guys.
-----------------------
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
taurus1978
Technology Partner
Posts: 25
Liked: 2 times
Joined: May 11, 2015 11:51 am
Full Name: Patrick Huber
Contact:

Re: [V12] Veeam 12 PG database location

Post by taurus1978 »

maybe i can do something for the "good" here :-)

To migrate the Enterprise Manager DB, please follow these steps. Please note the following procedure:
https://helpcenter.veeam.com/docs/backu ... QL&ver=120

Tip: Here you can migrate via Command Line. Example from the field:

Save the MS-SQL DB:

Code: Select all

"C:\Program Files\Veeam\Backup and Replication\Enterprise Manager\Veeam.EM.DB.Migration.exe" /file:D:\veeam_em_backup.emco /backupemdatabase /encryptionpassword:aw2Xn+3MV4BnHUzfzfh54%er2 /verbose

Restore the EM DB to the PostGres SQL instance:

Code: Select all

"C:\Program Files\Veeam\Backup and Replication\Enterprise Manager\Veeam.EM.DB.Migration.exe" /file:D:\veeam_em_backup. emco /restoreemdatabase /encryptionpassword:aw2Xn+3MV4BnHUzfzfh54%er2 /servername:localhost /serverport:5432 /login:postgres /password:jLlrkS%hJh;P26RR$71$fH /verbose

After that, the VEEAM DB utility can be used to bend the DB over to the PostGres instance.

Please change /encryptionpassword and /login /password to fit your needs
VEEAM Enthusiast
Veeam certified Architect
Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 77 guests