Home > Database > Mysql Tutorial > RMAN-00557: 无法打开 MSGLOG

RMAN-00557: 无法打开 MSGLOG

WBOY
Release: 2016-06-07 17:30:16
Original
1235 people have browsed it

我用客户端RMAN备份,客户端是windows,服务器端是装了Oracle的linux,我想把RMAN备份信息输出到一个指定的文本,于是:

今天在用RMAN备份时出现了一点问题,后来才恍然大悟。
 
我用客户端RMAN备份,客户端是windows,服务器端是装了Oracle的linux,我想把RMAN备份信息输出到一个指定的文本,于是:
 
C:\>rman target sys/123456@oracle11gr2 nocatalog
 
此时,
 
RMAN>spool log to '/u01/backup/backuplog.f'
 
我想把信息放到服务器端,其实这里我范了个错误,RMAN在客户端使用时,log是放到客户端的,于是报RMAN-00557: 无法打开 MSGLOG '/u01/backup/backuplog.f',日志假脱机已关闭。修改如下:
 
RMAN>spool log to 'E:\oracleScript\backup\backuplog.f'
 
RMAN>backup datafile 6;
 
RMAN>spool log off;
 
我到E盘下看了那文件,果然记录了备份信息,,呵呵,以后不再范二了。如果我非要把信息记录到服务器端呢?读者和我一起思考下,如果有答案了留言哦,谢谢。

RMAN Recipes for Oracle Database 11g pdf下载见

linux

Related labels:
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