Home > Database > Mysql Tutorial > body text

Oracle在NOARCHIVELOG模式下冷备份还原数据库

WBOY
Release: 2016-06-07 17:05:48
Original
925 people have browsed it

冷备就是把数据库的相关文件复制一份,它只能做还原操作,不能做恢复操作。现在登录到数据库中,把数据文件、控制文件、日志文件

冷备就是把数据库的相关文件复制一份,它只能做还原操作,不能做恢复操作。现在登录到数据库中,把数据文件、控制文件、日志文件存放路径找到,然后关闭数据库,备份列出的文件。

临时文件可以不备份,实际中还应该备份参数文件。这里我把上面所有的文件复制到/u01/datafile/下面,,然后删除备份前的所有文件,模拟磁盘故障。

可以看见数据库不能正常启动

linux

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!