Comprehensive data protection for all workloads
Post Reply
neux
Lurker
Posts: 1
Liked: never
Joined: Jan 13, 2016 9:05 pm
Full Name: Mike
Contact:

Failed to create database VeeamBackup. Please help :(

Post by neux »

CASE #: 01424353

Hello all,

I'm trying to install a trial version of Backup & Replication v9 on a clean Windows Server 2012R2 virtual machine. I keep getting the following error:

Failed to create database VeeamBackup. Create failed for Database 'VeeamBackup'.

I tried searching online but couldn't find any solutions.

Please help.

Vitaliy S.
Product Manager
Posts: 25951
Liked: 2445 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by Vitaliy S. »

Are you using remote SQL Server or trying to install VBR with all the defaults?

tore.meum@99x.no
Lurker
Posts: 2
Liked: never
Joined: Feb 03, 2016 1:50 pm
Full Name: Tore Meum
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by tore.meum@99x.no »

Good afternoon.

I am experiencing the same issue. Exactly the same message as neux posted.
Straight installation of VBR on Windows 7 Pro SP1, all the default options.
I've looked in the debug logs (BackupSuite_03_02_2016_13_55_12 - hopefully the right one - it was plenty to choose from), with no clear error to look or.

I've done 15+ installations on different PC's with the same setup no issues.

Assistance appreciated.

Regards
Tore Meum

foggy
Veeam Software
Posts: 20816
Liked: 2037 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by foggy »

Hi Tore, as far as I can see from the OP's case details, he was managed to resolve the issue with the help of support during a short webex session. So I recommend you to contact them directly to get the same assistance. Thanks.

tore.meum@99x.no
Lurker
Posts: 2
Liked: never
Joined: Feb 03, 2016 1:50 pm
Full Name: Tore Meum
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by tore.meum@99x.no »

Thank you.

Will contact support :-)

Regards Tore

spricer
Novice
Posts: 3
Liked: 3 times
Joined: May 31, 2016 8:06 pm
Full Name: Spricer
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by spricer » 2 people like this post

What is with forums nowadays...purpose?...."I know/got my answer but I will not share with you"..
Anyway solution for me (after carefully checked logs) was to remove file that was already existing (I assume from previous failed installation):

c:\Program Files\Microsoft SQL Server\MSSQL11.VEEAMSQL2012\MSSQL\DATA\VeeamBackup.mdf

lars@norstat.no
Expert
Posts: 110
Liked: 14 times
Joined: Nov 01, 2011 1:44 pm
Full Name: Lars Skjønberg
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by lars@norstat.no »

I so agree, and my opinion is that Veeam is the absolutely worst in this regard. Every f...... post is the same. Contact support, contact support ..... If you have the answer then post it !!!!!

I'm sitting now at 0101 at night doing a new installation and i need the answer now, not tomorrow or monday when i get the answer from support.

The reason you give is that you don't wont people to do something wrong and you want to make sure it's really the same problem as the other guy.

The real reason is that you don't want people to see the problems you have with the software.

Do you think we are children ? it's the same with all systems, yes we know something can go wrong and it's our problem if we choose the wrong solution. We all know how forums work. It's seems you are the only ones that don't know.

And i really don't understand why. Every software have issues and we all want to fix it as fast as possible. Why do you want to use so much support resources on something that users can fix themselves.

Thanks for the solution Spricer :)

foggy
Veeam Software
Posts: 20816
Liked: 2037 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by foggy »

Ok, a few comments on this, since I feel like this portion of "criticism" is dished out to my post above.

It is true that we always recommend to verify you're experiencing the exact same issue prior to applying a hotfix or taking any resolution steps (to avoid even more problems). We also do that for tracking purposes, so that the top issues get addressed in the next product updates.

We always share solutions that we know work (product configuration, registry values, design decisions, etc.), but always advise to get support assistance in more complex cases. Regarding that particular case (and many others similar), the case notes didn't contain any details about the actual issue/solution, but just customer and engineer negotiations regarding the time of webex session, then mentioned customer's gratitude and was closed. So neither I nor other members of the team behind this forum were aware of the steps required to address this issue (funny thing, sometimes cases are handled in customer's native language, so no matter how hard we try, we cannot make any sense of them).

xiaochris
Lurker
Posts: 1
Liked: 8 times
Joined: Sep 21, 2016 3:27 am
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by xiaochris » 8 people like this post

Hi Guys,

To solve the issue ,

Go to,
C:\Program Files\Microsoft SQL Server\MSSQL11.VEEAMSQL2012\MSSQL\DATA

You will see two files.

VeeamBackup
VeeamBackup_log

remove these two files. And try reinstalling.

This should work. Worked for me.

ahmed.abdelrazzak
Lurker
Posts: 1
Liked: never
Joined: Nov 19, 2016 9:44 am
Full Name: Ahmed Abd El-Razzak Taher Abdou
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by ahmed.abdelrazzak »

Best Reply ...... This worked for me also
Great & Easy Solution

pireseder
Lurker
Posts: 1
Liked: never
Joined: Jan 05, 2017 4:08 pm
Full Name: Eder Pires
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by pireseder »

thanks spricer removing .mdf files from sql location from previous failed installs worked for me.

drewblood
Lurker
Posts: 1
Liked: never
Joined: Feb 21, 2017 2:04 pm
Full Name: Andrew Wilson
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by drewblood »

xiaochris wrote:Go to,
C:\Program Files\Microsoft SQL Server\MSSQL11.VEEAMSQL2012\MSSQL\DATA

You will see two files.

VeeamBackup
VeeamBackup_log

remove these two files. And try reinstalling.
Thank you for this,

Also note that if you want to change the computer name or join to the domain it is ideal to install Veeam first, or your console will break. Trial and Error.

markzz
Lurker
Posts: 1
Liked: never
Joined: Sep 04, 2017 5:51 am
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by markzz »

Thanks Spicer for the solution and of course for raising the issue of this repetitive statement "Contact Support"
I can not contact support at midnight..

Please people. If you have a solution post it.. If it breaks my server I'll deal with it.. I wear big boys pants these days..

jmmarton
Veeam Software
Posts: 2078
Liked: 306 times
Joined: Nov 17, 2015 2:38 am
Full Name: Joe Marton
Location: Chicago, IL
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by jmmarton »

As an aside, as long as you have production support (which means 24x7) then yes you can contact support at midnight. I often advocate going with production support even in environments that aren't 24x7 because most updates/upgrades occur outside of normal business hours.

Joe

egavasu
Lurker
Posts: 1
Liked: never
Joined: Sep 20, 2017 9:15 pm
Full Name: Ega
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by egavasu »

Perfect solution. thanks for this.

----------------------------------------------------------------------------------------------
xiaochris wrote:
Go to,
C:\Program Files\Microsoft SQL Server\MSSQL11.VEEAMSQL2012\MSSQL\DATA

You will see two files.

VeeamBackup
VeeamBackup_log

remove these two files. And try reinstalling.
----------------------------------------------------------------------------------------------

njdavis0812
Lurker
Posts: 1
Liked: never
Joined: Dec 21, 2017 9:36 pm
Full Name: Nicholas Davis
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by njdavis0812 »

Thanks xiaochris, worked a treat!

chilkers
Lurker
Posts: 1
Liked: never
Joined: Apr 10, 2017 1:00 pm
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by chilkers »

Worked out great for me too! I had to reinstall B&R 9.5U3 so the uninstall process also requires removing all of the SQL components as well since the install process for Update 3 requires an install of 9.5 first and then updates the database and Veeam B&R to U3. You'll get an error if you just uninstall B&R 9.5U3 and try to reinstall, hence the need to remove the SQL stuff as well.

denser
Influencer
Posts: 10
Liked: 1 time
Joined: Sep 02, 2021 6:02 am
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by denser »

Same thing at fresh setup 11 version. Why install script don't check existence of this files. Idk.
Solved via remove MSSQL db files as described above.

PetrM
Veeam Software
Posts: 2326
Liked: 373 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by PetrM »

Hello,

What kind of check are you looking for? If I understand correctly the error message is shown as database files already exist in the target location. We cannot delete these files automatically on background without the user's consent. Also, I strongly recommend to contact our support team for any technical issue related to our product, especially if we're talking about setup. Usually, the problems with installation are sophisticated and difficult for troubleshooting.

Thanks!

denser
Influencer
Posts: 10
Liked: 1 time
Joined: Sep 02, 2021 6:02 am
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by denser » 1 person likes this post

I don't know. But my position to make separate VM with VBR server. May be you should take attention with this and give me decide to allow installing program to what necessary to install product successfully.

PetrM
Veeam Software
Posts: 2326
Liked: 373 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by PetrM »

Hello,

Thanks for the idea! We'll consider such an improvement as long as we have enough requests for it.

Thanks!

pallingd
Novice
Posts: 8
Liked: 1 time
Joined: Mar 04, 2010 12:24 pm
Full Name: Per Alling-Dam
Location: Denmark
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by pallingd » 1 person likes this post

@PetrM : The error message is not anything related to "database files already exist". The error is just "Failed to create database VeeamBackup. Create failed for Database 'VeeamBackup", and the log file that is pointed to is even less helpful:

Code: Select all

Exception occurred (Veeam products installation section).
Info: System.ComponentModel.Win32Exception (0x80004005): Fatal error during installation
   at Veeam.Setup.MsiLibrary.VmMsiCommon.CheckError(VmMsiDatabase db, UInt32 result)
   at Veeam.Setup.MsiLibrary.VmMsiCommon.InstallProduct(String product, String commandLine, Boolean& bReboot)
   at Veeam.Setup.Wizard.VmInstallProduct.RunInstallation(Boolean& bReboot)
   at Veeam.Setup.Wizard.VmInstallEngine.Install(ShowControlFunc showActionData, Boolean bRepair, Boolean bUpgrade, VmDialogEngineHandler dialogEngineHandler)
   at Veeam.Setup.Wizard.PredefinedDialogs.VmInstallDialog.m_installWorker_DoWork(Object sender, DoWorkEventArgs e)
A simple "The database exists already. Do you wish to overwrite/create new/cancel?" prompt would have been much more helpful.

PetrM
Veeam Software
Posts: 2326
Liked: 373 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by PetrM »

Hi Per,

Did database itself exist on SQL instance or there were just some files on the file system? Also, may I ask you to share a support case ID?

Basically, this prompt must be shown, for example as we can see on this page of our help center:
If the configuration database already exists on the Microsoft SQL Server instance (for example, it was created by a previous installation of Veeam Backup & Replication), the setup wizard will notify about it. To connect to the detected database, click Yes.
Thanks!

bmp999
Lurker
Posts: 1
Liked: never
Joined: Dec 29, 2021 11:44 pm
Full Name: Brian Prince
Contact:

Re: Failed to create database VeeamBackup. Please help :(

Post by bmp999 »

Thank You Spricer. Indeed the files existed from the previous MSP who left with the Backup non-existant.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 34 guests