Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
SQL Server 2005 General Discussion
»
regular Backup of sql database's
regular Backup of sql database's
Rate Topic
Display Mode
Topic Options
Author
Message
montril21
montril21
Posted Thursday, February 03, 2011 1:39 PM
Forum Newbie
Group: General Forum Members
Last Login: Thursday, July 14, 2011 9:28 AM
Points: 4,
Visits: 11
Hi,
Can you please let me know the steps to carry out regular backup's of sql 2005 database's. The db's are small around 3 GB and frequency need to be daily. Also please explain me the "append to existing sets" or "overwrite to existing sets".
Can you explain the steps with an example as am new to sql.
Post #1058351
homebrew01
homebrew01
Posted Thursday, February 03, 2011 1:59 PM
SSCrazy
Group: General Forum Members
Last Login: Today @ 5:59 PM
Points: 2,551,
Visits: 7,203
The easiest method is to create a Maintenance Plan, with a daily schedule. You can use the "Wizard" to step through the process. You probably should have production databases set to FULL RECOVERY and take transaction log backups every 20 minutes or so, in addition to your daily FULL backup.
I don't use backup devices or sets. I write to individual .BAK and .TRN files to a backup folder. Include a step to delete old files after X days or you will fill up your drive. Additionally, it's a good idea to get your backups into the tape rotation.
There is a lot written already about RECOVERY MODELS and BACKUPS, so do some reading, for example Gail's article:
http://www.sqlservercentral.com/articles/64582/
Get those backups started today. You can always adjust them later.
Post #1058366
montril21
montril21
Posted Thursday, February 03, 2011 3:09 PM
Forum Newbie
Group: General Forum Members
Last Login: Thursday, July 14, 2011 9:28 AM
Points: 4,
Visits: 11
Please let me know how do i restore under below condition for day 1 backup to be restored on 80th day
Database name: Test
Backup set name: Backup test-1
Backup set expires after- 90 days
Append to existing backup
How many .bak files gets created under above condition?
Post #1058414
Grant Fritchey
Grant Fritchey
Posted Friday, February 04, 2011 6:48 AM
SSChampion
Group: General Forum Members
Last Login: Today @ 12:19 PM
Points: 13,371,
Visits: 25,144
Expire date doesn't determine how many days are kept. That's a marker for old style tape backup systems.
How big is this database? Keeping 90 days worth of individual backups could be a major undertaking if you've got even a moderately small database, say 50gb. 90 days of backing up that database would be 4500gb. Do you have 4tb of spare disk space sitting around? What if it's a medium sized database, say 500gb. Now the problem just got worse.
Most businesses would not want to go back 90 days and lose that much data. In general, you need to talk to your business to determine what they want the backups to do. Yes, you might keep a 90 day old backup, but you don't generally keep the intervening 89 days. My previous employer keeps a rolling set of backups available. One month and one week, offline, and the last two days online. In addition to that, they have the log backups for both days, also online for full blown disaster recovery to a point in time. For legal purposes there are also 6 month and 1 year backups mainained, but not the daily changes over all that time.
Since you're really just getting started in this, can I suggest you get a copy of my book,
SQL Server 2008 Adminstration
. It'll help you on the basics.
----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of:
SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans
Product Evangelist for
Red Gate Software
Post #1058696
homebrew01
homebrew01
Posted Friday, February 04, 2011 10:01 AM
SSCrazy
Group: General Forum Members
Last Login: Today @ 5:59 PM
Points: 2,551,
Visits: 7,203
Disaster Recovery Guide
http://technet.microsoft.com/en-us/magazine/ee677581.aspx
Backups
http://msdn.microsoft.com/en-us/library/ms187510(v=SQL.90).aspx
Restoring
http://msdn.microsoft.com/en-us/library/ms177429(v=SQL.90).aspx
Backup Sets (Personally, I prefer to backup to individual files)
http://msdn.microsoft.com/en-us/library/ms191248(v=SQL.90).aspx
Post #1058856
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.