How to recover the Sybase database

Source: Internet
Author: User
Tags sybase sybase database
One day, you press the computer power switch, not as usual, after a flash into the system, but to tell you that your system disk has broken down. After you have managed to recover the system in a number of ways, you are most worried about your data.
I installed the sybase12, a few days ago the system suddenly inexplicably broken down. Because it is my own machine, so I installed all the software on D disk, which is really helpful to me. It can be seen that a good habit is very much to be got.
After I reinstall the system, the database must not be used, but can restore it? The most I care about most is my data. When you think of using Oracle, there is a way to recover, that is, to install the database system in the way it was originally installed on the system, and then replace the data files held on D disk, and so on, the database is easy to recover.
In this case, of course, I worked immediately. First the copy of the reserved on D disk to another place, and then take the last time, including the naming method, select directory, etc., to install the Sybase server and client, after the successful completion of the installation.
I stopped the Sybase service, copied all the data folders under the Sybase server directory in the original system (in my case, D:ybase Ybase_s\data, the master device file) to the same location under the new installation, and then restarted the Sybase service.
Restart success, gave a lot of confidence; see if the original database is all out, into Sybase Centrel, found that there are now, ah, my god! everything is OK.
Dare not to use alone, hereby take to share with you, of course, with this step, you can also carry out other ancillary operations according to your own situation.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.