30.06.2013 Views

SQL Server Backup and Restore - Simple Talk

SQL Server Backup and Restore - Simple Talk

SQL Server Backup and Restore - Simple Talk

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2: Planning, Storage <strong>and</strong> Documentation<br />

Example restore requirements <strong>and</strong> backup schemes<br />

Based on all the information gathered for the SLA, we can start planning the detailed<br />

backup strategy <strong>and</strong> restore for each database. By way of demonstrating the process, let's<br />

walk through a few common scenarios <strong>and</strong> the recommended backup strategy. Of course,<br />

examples are only intended as a jumping-off point for your own <strong>SQL</strong> <strong>Server</strong> backup <strong>and</strong><br />

restore plans. Each server in your infrastructure is different <strong>and</strong> may require completely<br />

different backup schedules <strong>and</strong> structures.<br />

Scenario 1: Development server, VLDB, simple file<br />

architecture<br />

Here, we have a development machine containing one VLDB. This database is not structurally<br />

complex, containing only one data file <strong>and</strong> one log file. The developers are happy<br />

to accept data loss of up to a day. All activity on this database takes place during the day,<br />

with a very few transactions happening after business hours.<br />

In this case, it might be appropriate to operate the user database in SIMPLE recovery<br />

model, <strong>and</strong> implement a backup scheme such as the one below.<br />

1. Perform full nightly database backups for the system databases.<br />

2. Perform a full weekly database backup for the VLDB, for example on Sunday night.<br />

3. Perform a differential database backup for the VLDB on the nights where you do not<br />

take the full database backups. In this example, we would perform these backups on<br />

Monday through Saturday night.<br />

71

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!