Register  |  Login
   
Live Chat
Backup Your MS SQL Database Locally Minimize

To print this entire article, click the printer icon at the bottom of the page
Click the images for full view

003 - EnterpriseManagerAddNewDatabase
  • Open MS SQL Enterprise Manager while logged in to your computer as an administrator
  • Expand the (LOCAL) server
  • Right click the Databases folder
  • Click the New Database menu option
004 - EnterpriseManagerDatabasePropertiesGeneral
  • In the Database Properties window:
  • Enter the Name of your production database (It's important that the database name and login be identical)
  • Click the OK button
001 - EnterpriseManagerAddNewLoginMenu
  • Expand the Security folder
  • Right click the Logins icon
  • Click New Login
002 - EnterpriseManagerLoginPropertiesGeneral
  • In the SQL Server Login Properties window:
  • Enter the Name of your production login (It's important that the database name and login be identical)
  • Select the Defaults / Database created earlier
  • Click the OK button
005 - EnterpriseManagerAddNewDatabaseUserMenu
  • Expand the database created above
  • Right Click Users
  • Click the New Database User menu item
006 - EnterpriseManagerDatabaseUserPropertiesGeneral
  • In the Database User Properties window:
  • Select the Login Name created above
  • Grant: Public, db_accessadmin, db_securityadmin, db_dlladmin, db_datareader, and db_datawriter in the Database role memberships list
  • Click the OK button
007 - EnterpriseManagerExportDataMenu
  • Right click on your production Microsoft SQL Server
  • From the All Tasks menu, click the Export Data menu item
008 - DTS_Import_Export_Step1
  • In the DTS Import/Export Wizard window:
  • Click Next >
009 - DTS_Import_Export_Step2
  • In the DTS Import/Export Wizard window:
  • Select the Use SQL Server Authentication radio button
  • Enter your SQL login Username
  • Enter your SQL login Password (if you do not know your production SQL login password, it can be viewed in your web.config
  • Select your production Database
  • Click the Next > button
010 - DTS_Import_Export_Step3
  • In the DTS Import/Export Wizard window:
  • Select the Use Windows Authentication radio button
  • Select your local Database
  • Click the Next > button
011 - DTS_Import_Export_Step4
  • In the DTS Import/Export Wizard window:
  • Select the Copy objects and data between SQL Server databases
  • Click the Next > button
012 - DTS_Import_Export_Step5
  • In the DTS Import/Export Wizard window:
  • The following options should be enabled:
    • Copy destination objects
    • Drop destination object first
    • Include all dependent objects
    • Copy data
    • Replace existing data
    • Copy all objects
  • The following options should be disabled:
    • Include extended properties
    • Append data
    • Use default options
  • Click the Options... button
013 - DTS_Import_Export_Step5_advanced
  • In the Advanced Copy Options window:
  • The following options should be enabled:
    • Copy database users and database roles
    • Copy object-level permissions
    • Copy indexes
    • Copy triggers
    • Copy full text indexes
    • Copy PRIMARY and FOREIGN keys
    • Use quoted identifiers when copying objects
  • The following options should be disabled:
    • Copy SQL Server logins
    • Generage Scripts in Unicode
  • Click the OK button
012 - DTS_Import_Export_Step5
  • In the DTS Import/Export Wizard window:
  • Click the Next > button
014 - DTS_Import_Export_Step6
  • In the DTS Import/Export Wizard window:
  • Enable Run immediately
  • Optional: Enable Save DTS Package (This will save all of your selected options on your local server for later execution)
  • Click the Next > button
016 - DTS_Import_Export_Step7
  • Optional Step:
  • Enter a Name and Description to save the DTS Package
  • Select the (Local) Server name
  • Select the Use Windows authentication radio button
  • Click the Next > button
017 - DTS_Import_Export_Step8
  • In the DTS Import/Export Wizard window:
  • Click the Finish button
018 - DTS_Import_Export_Step8_progress
  • The progress is displayed
019 - DTS_Import_Export_Step9
  • A message box confirms successful transfer