Backup of enterprise applications (Microsoft stack, IBM Db2, MongoDB, Oracle, PostgreSQL, SAP)
Post Reply
toreml
Expert
Posts: 103
Liked: 3 times
Joined: Sep 13, 2017 11:12 am
Full Name: Tore Mejlænder-Larsen
Contact:

Translog backup of auto_close databases

Post by toreml »

Hi.
We have a server which have two SQL databases in full recovery mode and auto_close enabled.
The problem is that we are not able to do translog backup of those databases.
Other databases on the same server which are in full recovery model are running OK.

I've asked the DBA to disable the auto_close - but he can't do this without customer saying OK.

Anything else we can try?


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

Re: Translog backup of auto_close databases

Post by foggy »

Hi Tore, unfortunately, nothing they can do other than disable that option.
toreml
Expert
Posts: 103
Liked: 3 times
Joined: Sep 13, 2017 11:12 am
Full Name: Tore Mejlænder-Larsen
Contact:

Re: Translog backup of auto_close databases

Post by toreml »

Hi Foggy.

Thanks for your reply.
I've also talked to others and they say the same.
I will have to talk to the customer and have them to set the database to Simple or disable auto_close.

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

Re: Translog backup of auto_close databases

Post by foggy »

Simple will not work, the database must use the Full or Bulk-logged recovery model. Otherwise logs backup is not possible.
TheBrain82
Influencer
Posts: 15
Liked: never
Joined: Mar 01, 2022 1:53 pm
Full Name: Oleg the Brain
Contact:

Re: Translog backup of auto_close databases

Post by TheBrain82 »

Hello,
I need to bring up this old post again.

Is this SQL-Server autoclose topic still "state of the art" with Veeam V12.1? It seems so because I just saw such a message for one of our customers here. Anyway, why this limitation (Veeam does not support transaction log backup of SQL-Databases where autoclose is enabled) is not mentioned anywhere in any Veeam guide?

It should be in here https://helpcenter.veeam.com/docs/backu ... ml?ver=120 but it is not! Or should it work with V12.1 now?

Thank you
secpet
Lurker
Posts: 1
Liked: 1 time
Joined: Apr 05, 2024 2:01 pm
Contact:

Re: Translog backup of auto_close databases

Post by secpet » 1 person likes this post

Hi,
I found that AutoClose-DBs are excluded in v11: https://helpcenter.veeam.com/archive/ba ... stats.html
My experience with v12 is the same. Logs say "Skipping AutoClose database".
I sort of understand if it is difficult to take log-backups on a closed database.

will ask the supplier if its ok to turn it off. In my case its a SQL Express edition and i think AutoClose is on by default.

For some it might be doable to create jobs turning off during backup window and then back on.
ALTER DATABASE [DBName] SET AUTO_CLOSE OFF;
ALTER DATABASE [DBName] SET AUTO_CLOSE ON;
david.cesar
Lurker
Posts: 1
Liked: never
Joined: Feb 09, 2023 1:08 pm
Full Name: David CESAR
Contact:

Re: Translog backup of auto_close databases

Post by david.cesar »

Hi, this is documented on the System Requirements section of the User Guide https://helpcenter.veeam.com/docs/backu ... ml?ver=120

Consider the following:

By default, the AUTO_CLOSE option for Microsoft SQL Server databases is set to False.
If AUTO_CLOSE is enabled, your databases may be skipped from processing.

Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests