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 shell scripts and asm cp or RMAN copy to bulk copy data files from ASM to the file system

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

Share

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

This article mainly shows you "how to use shell script and asm cp or RMAN copy batch to copy data files from ASM to the file system", the content is easy to understand, well-organized, hope to help you solve your doubts, the following let Xiaobian lead you to study and learn "how to use shell scripts and asm cp or RMAN copy batch data files to copy from ASM to the file system" this article.

Use shell scripts to bulk copy data files from ASM to the file system.

Note: the wildcard * cannot be used for cp commands in ASMCMD. Batch copies can only be made through scripts.

#! / bin/sh

Export ORACLE_SID=+ASM1

Echo "Start to copy datafile from ASM to file system...."

Asmcmd backup as copy current controlfile format'/ u01qqoraclecontrol / u01Accord control 01.ctl'

3)。 Copy the parameter file:

RMAN > backup as copy spfile format'/ u01qqorle.ora'.ora'

The above is all the contents of the article "how to use shell scripts and asm cp or RMAN copy to copy data files from ASM to the file system in batches". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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