Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use RMAN

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the knowledge of "how to use RMAN". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

RMAN backup scripts can be stored in the recovery directory or operating system text files.

1. Create a RMAN backup script

When you create a script, you need to connect to both the recovery catalog database and the target database.

[oracle@oracle11g ~] $rman catalog hfml/hfml target hfml/hfml

RMAN > create script rman_backup {

Sql 'alter system checkpoint'

Backup database

Delete noprompt obsolete

}

two。 Execute rman backup script

RMAN > run {execute script rman_backup;}

3. Convert script files to operating system files

RMAN > print script rman_backup to file'/ u01amp appActionoracleUniplicatorclUniplex rmancy backup.txt'

4. Call the script file on the operating system

[oracle@oracle11g ~] $rman catalog hfml/hfml target hfml/hfml cmdfile'/ tmp/rman_backup.txt'

That's all for "how to use RMAN". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report