Scheduling
|
|
1. |
|
|
2. |
In the lefthand pane, select SQL Server 2005 Services. In the
|
|
3. |
On the Service tab, find the Start Mode item and change its setting to Automatic. Click the Apply button, then click the OK button.
|
|
4. |
You can now start the Agent by right-clicking the SQL Server Agent icon and selecting Start from the context menu.
|
Using the SQL Maintenance Plan Wizard
|
1. |
Open Object Explorer in SQL Server Management Studio by selecting Object Explorer in the View menu or by pressing the F8 key.
|
|
2. |
In the tree view shown, expand your SQL Server instance, open the Management folder, and right-click the Maintenance Plans folder. Select Maintenance Plan Wizard.
|
|
3. |
A welcome page apears. Click the Next button.
|
|
4. |
Type a
|
|
5. |
Select Back Up Database (Full) and click the Next button twice.
|
|
6. |
Select AdventureWorks at the Databases dropdown list, and click the OK button.
|
|
7. |
Select the Create A Backup File For Every Database option, check the Create A Sub-Directory For Each Database checkbox, and specify a file
|
|
8. |
Click the Change button to create your schedule. When you have finished, click the OK button, and then click the Next button.
|
|
9. |
On this page you can define whether a report should be written to a directory and whether an e-mail notification should be sent. Make your selections and click the Next button.
|
|
10. |
Click the Finish button.
|
Database Maintenance Plans can be changed through SQL Server Management Studio. Simply navigate in Object Explorer to Maintenance Plans, which is a subfolder of Management, and right-click the maintenance plan you want to change. The history log can also be opened through this menu.
Conclusion
In this chapter, you have seen the different backup types SQL Server provides. The combination and scheduling of these different types should form a backup strategy that meets your system performance and data integrity needs. These strategies range from simple models using only full database backups to full models using transaction log
Remember that a backup strategy should be planned, implemented, and
Chapter 3 Quick Reference
|