首页 > 数据库 > Oracle > 12c非归档模式备份
If a database runs in NOARCHIVELOG mode, then the only valid database backup is a consistent backup . For the backup to be consistent, the database must be mounted after a consistent shutdown. Recovery is not specifically required after restoring the backup, but you would lose any transactions made after the backup. You can recover with archived logs from a consistent backup to minimize data loss.
To make a consistent database backup:
|
Option |
Description |
Example |
|
FORMAT |
Specifies a location and name for backup pieces and copies. You must use substitution variables to generate unique file names. The most common substitution variable is %U , which generates a unique name. Others include %d for the DB_NAME, %t for the backup set time stamp, %s for the backup set number, and %p for the backup piece number. |
BACKUP
|
|
TAG |
Specifies a user-defined string as a label for the backup. If you do not specify a tag , then RMAN assigns a default tag with the date and time. Tags are always stored in the RMAN repository in uppercase. |
BACKUP
|
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23825935/viewspace-2932987/ ,如需转载,请注明出处,否则将追究法律责任。