Solved

SQL 2005 backups

Posted on 2011-09-16
5
268 Views
Last Modified: 2012-05-12
I got this message:
Your SQL Server database is currently set to Full recovery model. Without regular transaction log backups, they will eventually consume all available disk space.

Looking for a article to setup backup correctly. I use backup exec for backup .bak files not live sql data.
0
Comment
Question by:Hubman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 1

Author Comment

by:Hubman
ID: 36550580
An article for someone new to SQL
0
 
LVL 21

Expert Comment

by:JestersGrind
ID: 36550635
If you run your database in Full recovery, you need to backup your transaction log files.  It sounds like you are backing up your data files.  Here is a step by step guide to back up the log files.  It's 2008, but it should still apply.

http://blogs.msdn.com/b/john_daskalakis/archive/2010/02/09/9960381.aspx

Greg

0
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 250 total points
ID: 36550637
Unfortunately backup exec will not truncate or shrink the log files automatically.
To get round this I set up a maintenance plan in sql to trucate the logs.

Symantec Support Article - http://www.symantec.com/business/support/index?page=content&id=TECH33654

How to setup a maintenance plan to shrink the databases in sql server 2005 - http://msdn.microsoft.com/en-us/library/ms188432(v=sql.90).aspx
0
 
LVL 21

Assisted Solution

by:JestersGrind
JestersGrind earned 250 total points
ID: 36550642
By the way, the other option is to change the recovery model to simple.  Then backup aren't necessary, but you lose the ability to restore to a point in time.  You would only be able to restore from the full backup.

Greg

0
 
LVL 1

Author Comment

by:Hubman
ID: 36550679
Thanks, I wil go over these and make a new post if I have any new questions
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question