Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How frequently should sys databases be backed up?

Posted on 2015-01-26
3
Medium Priority
?
69 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
[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
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
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.

598 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