Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How frequently should sys databases be backed up?

Posted on 2015-01-26
3
Medium Priority
?
73 Views
Last Modified: 2015-01-27
currently allof my user databases have a weekly full and then a daily differential backup job running and are being managed by a maintenance plan in management studio.  The four sys databases are also grouped into these backups so the actual setting in the back up job is "all databases" on the full and the differentials

my question is this.
would I be ok taking out the sys databases of the differential backups and only back them up in the weekly full?

master
model
msdb
tempdb

these are the 4 in question.
0
Comment
Question by:jamesmetcalf74
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Scott Pletcher earned 2000 total points
ID: 40571486
You could for model: you really only need to back it up when it changes.  You can't back up tempdb.

As for master and msdb, I strongly a full backup of master at least once a day (you can't do differentials for master), and a full or differential for msdb every day.  [msdb is used more than we realize; for example, I think it is used to populate the db list in SSMS, rather than master.]
0
 

Author Comment

by:jamesmetcalf74
ID: 40571545
ok so question.
how long should I keep these backups?
I would assume I need to have a master backup coinciding with my restore point.

lets say I have two databases.  
apple
orange

I need to restore apple to a point in time 2 days ago.   3 pm Jan24
orange is in good shape
would I need to restore master to a previous backup?  or would the current master be just fine
I assuming the present master would be fine.

second scenario
I lose my whole sql server and have multiple backups of master and orange and apple

I want to restore the database server to a point in time of jan 25th
would I need to correspond the proper master restore with the versions of orange?
also... will the master work with different versions of sql server?
trashed sql server 2008 and restore on top of 2012

thanks a bunch!
0
 
LVL 70

Assisted Solution

by:Scott Pletcher
Scott Pletcher earned 2000 total points
ID: 40571667
You're right, typically you don't have to time-sync master with the other dbs, unless you've added file groups or files to the db since master was backed up.

No, master dbs can only safely be restored to the same exact version and patch level of SQL on which they were backed up.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Suggested Courses

578 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