In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The backup command can create backup sets or mirror copies of two backup types. On disk
We can back up as a backup set or a mirror copy. The default backup type is an uncompressed backup set. "on disk, the backup type can only be a backup set, not a mirrored copy."
Configure the default backup type
1. Default image file to disk
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COPY
two。 Default backup set to disk
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO BACKUPSET
3. Default compression backup set to disk
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COMPRESSED BACKUPSET
4. Compress the backup set to tape by default
CONFIGURE DEVICE TYPE sbt BACKUP TYPE TO COMPRESSED BACKUPSET
Try to change the default configuration to mirror copy to disk
RMAN > show device type
RMAN configuration parameters for database with db_unique_name TEST are:
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
RMAN > CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COPY
New RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COPY PARALLELISM 1
New RMAN configuration parameters are successfully stored
Released channel: ORA_DISK_1
RMAN > show device type
RMAN configuration parameters for database with db_unique_name TEST are:
CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO COPY PARALLELISM 1
Try to change the default configuration to mirror copy to tape
RMAN > CONFIGURE DEVICE TYPE sbt BACKUP TYPE TO COPY
RMAN-00571: =
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =
RMAN-00571: =
RMAN-03002: failure of configure command at 07/23/2017 22:50:47
RMAN-06609: AS COPY can be configured only for disk device
Fail
Change the default configuration to backup set to tape
RMAN > CONFIGURE DEVICE TYPE sbt BACKUP TYPE TO BACKUPSET
New RMAN configuration parameters:
CONFIGURE DEVICE TYPE 'SBT_TAPE' BACKUP TYPE TO BACKUPSET PARALLELISM 1
New RMAN configuration parameters are successfully stored
RMAN > configure default device type to sbt
Old RMAN configuration parameters:
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE'
New RMAN configuration parameters:
CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE'
New RMAN configuration parameters are successfully stored
Both statements were modified successfully, and the statement configure default device type to xxx that configures the default backup device actually specifies the backup set whose default backup type is uncompressed.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.