SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 database backup
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

raul11
Starting Member

48 Posts

Posted - 09/11/2009 :  13:26:21  Show Profile  Reply with Quote
can anyone help e with a script to check backup of database

webfred
Flowing Fount of Yak Knowledge

Germany
8766 Posts

Posted - 09/11/2009 :  14:29:21  Show Profile  Visit webfred's Homepage  Reply with Quote
http://blog.ola.hallengren.com/blog/_archives/2008/1/1/3440068.html


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
37290 Posts

Posted - 09/11/2009 :  16:22:48  Show Profile  Visit tkizer's Homepage  Reply with Quote
I prefer mine: http://weblogs.sqlteam.com/tarad/archive/2009/09/08/Backup-SQL-Server-2005-and-2008-Databases.aspx



But do you want to verify that a backup is good or just use a custom script to perform backups? I'm not clear on your wording, which I think is about the same wording I received in an email earlier.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

raul11
Starting Member

48 Posts

Posted - 09/12/2009 :  12:44:52  Show Profile  Reply with Quote
quote:
Originally posted by tkizer

I prefer mine: http://weblogs.sqlteam.com/tarad/archive/2009/09/08/Backup-SQL-Server-2005-and-2008-Databases.aspx



But do you want to verify that a backup is good or just use a custom script to perform backups? I'm not clear on your wording, which I think is about the same wording I received in an email earlier.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."

Go to Top of Page

raul11
Starting Member

48 Posts

Posted - 09/12/2009 :  12:46:40  Show Profile  Reply with Quote

Hi,

I looking for a custom script that would check backups.

quote:
Originally posted by tkizer

I prefer mine: http://weblogs.sqlteam.com/tarad/archive/2009/09/08/Backup-SQL-Server-2005-and-2008-Databases.aspx



But do you want to verify that a backup is good or just use a custom script to perform backups? I'm not clear on your wording, which I think is about the same wording I received in an email earlier.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."

Go to Top of Page

shah429
Yak Posting Veteran

52 Posts

Posted - 09/12/2009 :  16:46:48  Show Profile  Reply with Quote
What do you mean check backups? Will you please clarify?
Go to Top of Page

tkizer
Almighty SQL Goddess

USA
37290 Posts

Posted - 09/13/2009 :  23:28:41  Show Profile  Visit tkizer's Homepage  Reply with Quote
A backup is not considered good until it has been copied to another location (off the local server), restored to a remote server, and then DBCC CHECKDB comes back with no errors. This is documented in Microsoft's article that describes how to properly check backups.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page

raul11
Starting Member

48 Posts

Posted - 09/14/2009 :  10:13:58  Show Profile  Reply with Quote

Hi,
What I'm looking for is a script whch would help me checkup the status of backup whether(successful or ortherwise).
Hope this clarifies it.

Regards

http://www.sqlteam.com/forums/
quote:
Originally posted by shah429

What do you mean check backups? Will you please clarify?

Go to Top of Page

tkizer
Almighty SQL Goddess

USA
37290 Posts

Posted - 09/14/2009 :  10:53:25  Show Profile  Visit tkizer's Homepage  Reply with Quote
If you just want to verify if a backup was successful, then set it up as a job and then alert on the job success/failure.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000