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

The use of RMAN (3)

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

Share

Shulou(Shulou.com)06/01 Report--

V. Connection of RMAN

Connect using operating system authentication

[oracle@oracle11g ~] $rman target /

Use a user with dba privileges to connect

[oracle@oracle11g ~] $rman target username/password

Or

[oracle@oracle11g ~] $rman

RMAN > connect target username/password

VI. Related concepts and configuration parameters of RMAN

Backup set: a logical data collection consisting of one or more RMAN backup slices, which are operating system files in RMAN format, including parameter files, control files, data files, or archive log files.

Channel: represents the session connection between the RMAN client and the database server.

Image replication: a backup of the operating system file of a database file, just like a file backed up using the operating system's copy instruction.

View the configuration parameters of RMAN

RMAN > show all

The default backup type for RMAN is a backup set, and you can change the default backup type to image replication.

RMAN > configure device type disk backup type to copy

Image replication of the entire database

RMAN > backup as copy database

Image copy a single tablespace

RMAN > backup as copy tablespace users

The image copies a data file

RMAN > backup as copy datafile 4

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