Valid Dump of the master Database Does Not Exist

NoteThese procedures assume that the rest of the master device is intact. If this is not the case, see the following section “Master Device Is Lost and Valid Dump Exists”.

  1. Rebuild the master database without initializing the master device. Refer to “How to Rebuild master Database and Leave Master Device Intact”.

  2. With Adaptive Server still down, manually reestablish the number of devices configuration parameter if necessary. Refer to “How to Alter the number of devices Parameter Manually”.

  3. Start Adaptive Server in single-user mode. Refer to “How to Start Adaptive Server in Single-User Mode”.

    NoteIn Adaptive Server version 12.0.x and later, be sure to start the server with trace flag 3608 in single-user mode. Starting the server with trace flag 3608 prevents sybsystemdb creation at start-up time, avoiding the potential for overwriting any user databases that may have existed on the master device.

  4. Restore the system tables information contained in the master database. This information describes all Sybase devices and user databases. If you have bcp files of the system tables, refer to “Manually Rebuilding Adaptive Server with bcp”; otherwise refer to “Restoring Device and Database Information in the System Catalog”.

  5. Use sp_addserver to add a SYB_BACKUP entry to the sysservers table:

    1> sp_addserver "SYB_BACKUP" null, 
    2> <correct_backup_server_name>
    3> go
    

  6. Dump the master database.

  7. Shut down Adaptive Server.

  8. Start Adaptive Server in multiuser mode. Refer to “Returning Adaptive Server to Multiuser Mode”.