Maintain control of your Microsoft 365 data
Post Reply
jmc
Service Provider
Posts: 103
Liked: 9 times
Joined: Sep 12, 2011 11:49 am
Full Name: jmc
Location: Duisburg - Germany
Contact:

After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by jmc »

hello,

i migrated the v12.2 to the postges today because of platzmagels. everything went well. now i want to update the ms365 to 8.0.3 on the server and that's where the problem comes in.

during the update it wants to create a new postges database instead of continuing to use the old ms-sql instance. but that doesn't work because all the data is stored in ms-sql. an existing postgres instance for ms365 is not found.

what now?

can i export the data from ms-sql as i did with b&r or tell the updater to please continue using ms-sql?

thanks
jmc
"Who brakes late stays fast longer." - "Wer später bremst ist länger schnell"
Mildur
Product Manager
Posts: 10277
Liked: 2746 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by Mildur »

Hi JMC

If you are asking on how to use the same PostgreSQL server for Veeam Backup for Microsoft 365, then follow the steps in this KB:
https://www.veeam.com/kb4638

during the update it wants to create a new postges database instead of continuing to use the old ms-sql instance.

can i export the data from ms-sql as i did with b&r or tell the updater to please continue using ms-sql?
Veeam Backup for Microsoft 365 never used Microsoft SQL server to store configuration data.

Best,
Fabian
Product Management Analyst @ Veeam Software
jmc
Service Provider
Posts: 103
Liked: 9 times
Joined: Sep 12, 2011 11:49 am
Full Name: jmc
Location: Duisburg - Germany
Contact:

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by jmc »

hello fabian,

that's ok, but the problem is to get the existing ms365 configuration in the new postgres db. i have 365 backups up to 2 years. when i accept the new postgres instance, than i have no more access to the stored data. additional all backups also saved to an immutable s3 storage.

jeff
"Who brakes late stays fast longer." - "Wer später bremst ist länger schnell"
Mildur
Product Manager
Posts: 10277
Liked: 2746 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by Mildur »

Hi jmc,

Can you please confirm your upgrade scenario?
- V7 to V8?
- V8 to V8?

For V8 to V8, we are preparing a KB article on "Hot to migrate PostgreSQL database to a new machine". But it will take some time.

For V7 to V8, there is no "manual step" required for the migration of your VB365 V7 configuration to PostgreSQL. The upgrade process will take care of the migration. You only have to specify to which PostgreSQL database. Follow the KB article I shared with you if the VBR server with PostgreSQL + VB365 are installed on the same machine.

Image

Best,
Fabian
Product Management Analyst @ Veeam Software
jmc
Service Provider
Posts: 103
Liked: 9 times
Joined: Sep 12, 2011 11:49 am
Full Name: jmc
Location: Duisburg - Germany
Contact:

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by jmc »

hi fabian,

i defined the database form and now the next step is a form for NATS Server. but i have no nats server. version 7 did not need nats.

what shoud i do?

thx
jeff
"Who brakes late stays fast longer." - "Wer später bremst ist länger schnell"
jmc
Service Provider
Posts: 103
Liked: 9 times
Joined: Sep 12, 2011 11:49 am
Full Name: jmc
Location: Duisburg - Germany
Contact:

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by jmc »

hi,

i searched a little bit and found this upgrade post:

https://helpcenter.veeam.com/docs/vbo36 ... tml?ver=80

Image

for that , before installation i should get a summary page with the admin user and passwort for the NATS Server. BUT i did NOT get this summary.

thx
jeff
"Who brakes late stays fast longer." - "Wer später bremst ist länger schnell"
Polina
Veeam Software
Posts: 3456
Liked: 828 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by Polina »

Hi Jeff,

NATS is a new component required for VB365, see more here. You need to install it, and you can do it during the VB365 installation using the suggested defaults.
jmc
Service Provider
Posts: 103
Liked: 9 times
Joined: Sep 12, 2011 11:49 am
Full Name: jmc
Location: Duisburg - Germany
Contact:

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by jmc »

hi,

ok, but i do NOT an installation. i start an update and in this path no NATS installation will executed.

at the redist folder in the zip file only is only an exe file. no information about installation is included.

jeff
"Who brakes late stays fast longer." - "Wer später bremst ist länger schnell"
Mildur
Product Manager
Posts: 10277
Liked: 2746 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by Mildur »

Hi Jeff

Start the update from here and everything will be done for you:

Image

If the process doesn't work, contact our customer support team.

Best,
Fabian
Product Management Analyst @ Veeam Software
jmc
Service Provider
Posts: 103
Liked: 9 times
Joined: Sep 12, 2011 11:49 am
Full Name: jmc
Location: Duisburg - Germany
Contact:

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by jmc »

hi,

exactly, it doesn't work. no NATS installation.

ok, i will open a ticket with reference to this post.

thx
jeff
"Who brakes late stays fast longer." - "Wer später bremst ist länger schnell"
Mildur
Product Manager
Posts: 10277
Liked: 2746 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by Mildur »

Thank you. I found your case number.
Updating from 7a to v8 should have presented options to automatically install PostgreSQL and NATS. It seems something went wrong during the update process. Our customer support team will continue the investigation with you.

I'm missing the setup logs in your case. Please provide these logs located at:
- C:\ProgramData\Veeam\Backup365\Logs\Setup
Not providing logs when creating a case may delay the initial processing of your case.

Best regards,
Fabian
Product Management Analyst @ Veeam Software
jmc
Service Provider
Posts: 103
Liked: 9 times
Joined: Sep 12, 2011 11:49 am
Full Name: jmc
Location: Duisburg - Germany
Contact:

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by jmc » 1 person likes this post

hello,

sorry. i have uploaded the setup logs.

thx
jeff
"Who brakes late stays fast longer." - "Wer später bremst ist länger schnell"
jmc
Service Provider
Posts: 103
Liked: 9 times
Joined: Sep 12, 2011 11:49 am
Full Name: jmc
Location: Duisburg - Germany
Contact:

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by jmc »

hello,

i have more information. at the beginning i tried it as it is written in the kb and found no possibility to install the nats. now i did it with a postgres user i created and now i get the install new instance for the nats. the update worked. but when i wanted to start the shell it didn't work, because after logging in immediately and in a loop the message “connection to server lost” appeared. then i changed the value for the timeout in config.xml from “-1” to 100 minutes and now everything is fine. now everything works as it should.

jeff
"Who brakes late stays fast longer." - "Wer später bremst ist länger schnell"
Mildur
Product Manager
Posts: 10277
Liked: 2746 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by Mildur »

Hello Jeff

Thank you for providing the feedback.
I'm not sure yet what has happened, but I'm glad that it is now working for you.

Best,
Fabian
Product Management Analyst @ Veeam Software
Seb.pythoud
Service Provider
Posts: 19
Liked: never
Joined: Dec 19, 2017 7:48 pm
Full Name: S.Pythoud
Location: Switzerland
Contact:

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by Seb.pythoud »

hi Fabian.

Is the KB to migrate existing Veeam for M365 V8 installation to remote postgreSQL installation ready ?

And what about Veeam Service Provider Console DB migration to postgreSQL ?

thx.

Seb
Mildur
Product Manager
Posts: 10277
Liked: 2746 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: After Migrate B&R to PostgreSQL MS365 will also use PostgreSQL

Post by Mildur »

Hi Seb

Yes, it's available: https://www.veeam.com/kb4676
And what about Veeam Service Provider Console DB migration to postgreSQL ?
PostgreSQL is not yet supported as the database engine for VSCP. I suggest to follow the existing topic in the VSPC subforum for that request.

Best,
Fabian
Product Management Analyst @ Veeam Software
Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests