Difference between revisions of "SQL Backup"

From Galen Healthcare Solutions - Allscripts TouchWorks EHR Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
==Creating a backup with SQL 2005==
 
==Creating a backup with SQL 2005==
 
#Log onto the server that you need to create the backup on
 
#Log onto the server that you need to create the backup on
#Go to Start/Programs/Microsoft SQL Server 2005/SQL Server Management Studio[[Image:Start-Programs.jpg]]
+
#Go to Start/Programs/Microsoft SQL Server 2005/SQL Server Management Studio<br />[[Image:Start-Programs.jpg]]
 
#The first prompt will ask you to which server to connect to.  Supply the proper information and hit <Connect>[[Image:Server_Connection.jpg]]
 
#The first prompt will ask you to which server to connect to.  Supply the proper information and hit <Connect>[[Image:Server_Connection.jpg]]
 
#Expand Databases
 
#Expand Databases
 
#Right-click the database you wish to backup
 
#Right-click the database you wish to backup
#Select Tasks/Backup[[Image:Bacukup_selection.jpg]]
+
#Select Tasks/Backup <br />[[Image:Bacukup_selection.jpg]]
#The following page will appear:[[Image:BackupOptions.jpg]]
+
#The following page will appear:<br />[[Image:BackupOptions.jpg]]
 
#If anything appears in the Destination section as shown above, highlight the entry and hit remove.[[Image:BackupOptionsCleared.jpg]]
 
#If anything appears in the Destination section as shown above, highlight the entry and hit remove.[[Image:BackupOptionsCleared.jpg]]
 
#When everything has been removed, select the <Add> button.
 
#When everything has been removed, select the <Add> button.

Revision as of 16:55, 1 July 2013

Description

This page will describe the steps necessary to perform a manual SQL backup. Backups should be created before making any major changes to a database to ensure you can restore them if necessary:

Creating a backup with SQL 2005

  1. Log onto the server that you need to create the backup on
  2. Go to Start/Programs/Microsoft SQL Server 2005/SQL Server Management Studio
    Start-Programs.jpg
  3. The first prompt will ask you to which server to connect to. Supply the proper information and hit <Connect>Server Connection.jpg
  4. Expand Databases
  5. Right-click the database you wish to backup
  6. Select Tasks/Backup
    Bacukup selection.jpg
  7. The following page will appear:
    BackupOptions.jpg
  8. If anything appears in the Destination section as shown above, highlight the entry and hit remove.BackupOptionsCleared.jpg
  9. When everything has been removed, select the <Add> button.
  10. The following prompt will appear:BackupDestination.jpg
  11. Select the elipses and browse to your preferred path and provide a detailed filename. Ensure that you have enough disk space free to hold the backup.
  12. Press <OK> until you get back to this screen:

BackupOptionswithDestination.jpg

  1. When everything is ready to be backed up, press <OK>
  2. While the backup is executing you will see the progress in the bottom left hand corner as shown here:

BackupExecuting.jpg

  1. When it is finished the following screen will appear:

BackupComplete.jpg

  1. Press <OK>
  2. If done with SQL close out of the program, you're finished.