It is recommended that you make backup copies of your database files before rebuilding a database.
Verify that no other scheduled backups can rename the production database log. If the log is renamed, the transactions from the renamed logs must be applied to the rebuilt database in the correct order.
Using dbbackup -r, create a backup of the database and log, and rename the log.
Rebuild the backed up database on another computer.
Perform another dbbackup -r on the production server to rename the transaction log.
Run dbtran on the transaction log and apply the transactions to the rebuilt server.
Shut down the production server and copy the database and log.
Copy the rebuilt database onto the production server.
Run dbtran on the log from Step 5.
Start the server on the rebuilt database, but do not allow users to connect.
Apply the transactions from Step 8.
Allow users to connect.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2012, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.1|