March 12, 2014 at 4:47 am
Hi dudes...
There is a database and a ldf file-working properly so far.
When I try to make a maintenance plan for backup, management studio just finds the mdf (which, by the way, can be backed up).
It just can not find the ldf, which is in the same directory.
Any idea ??
Thank you
March 12, 2014 at 4:58 am
??
A transaction log backup doesn't need to know the location of the file, it's a backup via SQL Server.
What exactly are you trying to do and what are the exact error messages you are getting?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 12, 2014 at 6:06 am
StephenNL (3/12/2014)
Hi dudes...There is a database and a ldf file-working properly so far.
When I try to make a maintenance plan for backup, management studio just finds the mdf (which, by the way, can be backed up).
It just can not find the ldf, which is in the same directory.
Any idea ??
Thank you
What task are you using to do the backup within the maintenance plan?
March 12, 2014 at 6:17 am
No error message...
-> Maintenance plan
-> Right click
-> New maintenance plan
-> Task Backup Database
-> Transactionprotocol
!# Log file of database is missing (though database exists)
!# SQL Server does not display the according log file of the database
😉 Thank you...
March 12, 2014 at 6:25 am
There's no where in the backup database task dialog where the log file is supposed to show up. Where in the dialog do you expect to see the log file (and why)?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 12, 2014 at 6:28 am
I found the reason why you could not backup log files.
Recovery model of the batabase was simple.
When switching it to complete, you can select the database.
March 12, 2014 at 6:30 am
When I select Backup Type into Transaction Protocol.
March 12, 2014 at 6:30 am
Ah, so it wasn't that the log file wasn't being displayed (which is what your previous posts stated), but that when the Backup Type options is switched Transaction log, the database isn't in the list?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 12, 2014 at 6:39 am
In the picture above, I choose transaction log (Transaktionsprotoll in German) and select the database.
But I guess, with simple recovery no log file is needed.
March 12, 2014 at 6:40 am
Yes, exactly.
March 12, 2014 at 6:41 am
The log file's there. Log backups can't be done which is why you cannot select any database which is in simple recovery model when the backup type is set to Transaction Log.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 12, 2014 at 7:09 am
So, better change recovery model of database to complete ?
March 12, 2014 at 7:18 am
Not necessarily. Simple may be fine if simple recovery meets the app's requirements for recoverability.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 12, 2014 at 7:29 am
GilaMonster (3/12/2014)
Not necessarily. Simple may be fine if simple recovery meets the app's requirements for recoverability.
Understanding this, and what it means for recovery, can be a database by database decision sometimes.
Since my data warehouse was only updated once a day, simple (after nightly process) was fine.
SharePoint was Full, as we did not want users to possibly lose data. And users were from around the globe, so updates could occur at all hours.
March 12, 2014 at 7:36 am
StephenNL (3/12/2014)
So, better change recovery model of database to complete ?
It's important you determine what your applications requirements are and how much data it is acceptable can be lost.
You would typically select a Recovery Model based on this.
If it is unclear to you which Recovery Model you might need, here is a reading starting point...
http://msdn.microsoft.com/en-us/library/ms189275(v=sql.105).aspx
Viewing 15 posts - 1 through 15 (of 15 total)
You must be logged in to reply to this topic. Login to reply