Current time
Bookmark with: Share/Save/Bookmark

Real management is developing people through work
Real management is developing people through work

Moving / Copying a Resource 32000 Database (SQL Server)

These instructions are intended to allow a systems administrator to move or copy a Resource 32000 database on SQL Server 6.5. Basic knowledge of SQL Server administration procedures is assumed.

  • Go into SQL Server Enterprise Manager with system administrator privileges.
  • If necessary create a new database. This database can have any name you like for the moment (it can be renamed later if you want). We recommend a data area and separate transaction logs of at least several-hundred megabytes each. Preferably the data and transaction logs should on separate database devices, which should preferably themselves be on separate physical hard-drives. You may want to use the database options tab to set the transaction log for automatic truncation at every checkpoint, since this prevents it from filling up.
  • Now you can copy your existing Resource 32000 Database. Use the database transfer dialog that is available by right-clicking on the database name. Select the Destination database that you want to transfer to (possibly the one you just created in step 2), and then accept defaults for all the other options except “Quoted Identifiersâ€? which you can alter by unsetting the “Use Default Scripting Optionsâ€? button, then click on “Scripting Options….â€?, then click on “Use Quoted Identifiersâ€? on the dialog that appears, and finally select “OKâ€?. You can then start the transfer, which may take some time for a large database.
  • You may want to rename the database that you have just transferred into (and indeed the one you have transferred from). Typically you might do this when the object of the whole exercise is to move a database to a different device, or change its configuration. This can be done in the SQL Query Tool in the Tools menu of Enterprise Manager.
  • Launch the SQL Query Tool.
  • Change its database to master(this may already be the case).
  • Run the sp_renamedb (olddatabase, newdatabase) stored procedure. First do this to get the original database “out of the wayâ€?; then rename the new database to the original database name. After doing this you may need to reset single-user mode for both databases.
 

Things to do

Valid HTML 4.01!  Valid CSS!

 
Member of ACCA Member of Institute of Business Consulting Member of The Association of International Accountants Member of the Chartered Management InstituteMember of the Institute of Chartered Accountants


All contents copyright © 2004-2008 H&H Associates
Name copyright © 2004-2008 H&H Associates
Certified Management Consultants, Chartered Accountants and IT professionals.
Website design and development by iBEC Systems Ltd.