Mounting a database  quiesce database

Chapter 11: Developing a Backup and Recovery Plan

Renaming devices

The manifest file contains the device paths as known to the Adaptive Server that created the manifest file. If the mounting Adaptive Server accesses the devices with a different path, you can specify the new path to the mount command.

  1. Use the mount command with listonly to get the old path:

    1> mount database all from “/work2/Mpubs_file” with listonly
    2> go
    
    “/work2/Devices/pubsdat.dat” = “pubs2dat”
    
  2. If the new path for the device pubs2dat is /work2/Devices/pubsdevice.dat, specify the new device in the mount command:

    mount database all from “/work2/Mpubs_file” using “work2/datadevices/pubsdevice.dat” = “pubs2dat”
    




Copyright © 2005. Sybase Inc. All rights reserved. quiesce database

View this book as PDF