All technological notes.

Fast recovery areaBackup strategy may include:
Cumulative (changes since last level 0)Differential (changes since last incremental)Offline (consistent, cold)Online (inconsistent, hot)Incremental Backup Strategy:
Block change tracking for fast incremental backupsCumulative and differential incremental backupsMultiplexing
min (FILESPERSET, MAXOPENFILES).MAXOPENFILES = 1 for SAME or ASM data files.Hardware/Network/Storage
Full and Incremental Backups:
Full backup restored first and then incremental backups and archived logs. 有顺序Incrementally Updated Disk Backups
Incremental + roll forward to create up-to-date copySWITCH commandBackups to Physical Standby Database
Use Case:
RTO(goal = maximum length of time taken to restore)Backup strategy:
level 0 and daily differential incremental backup sets to tape, with optional backup compressionblock change tracking so that only changed blocks are read and written during incremental backup.只关注 bctUse Case:
Backup strategy:
FRA, daily incremental backupsincrementals to roll forward copyFull backup archived to tape as neededArchived logs backed up and retained on-disk as neededFast recovery from disk or SWITCH to use image copiesUse Case:
Backup strategy:
Full and incremental backups offloaded to physical standby database后备实例负责备份Active Data Guard(can backup and query, read-only; Data Guard: backup only, no query)Considerations for backing up read-only tablespaces:
retention policy.只在政策不满足情况下.SKIP READONLY option of the RMAN BACKUP command to skip readonly tablespaces or data files. 可以跳过.只读 tbsp 原因是分配的磁盘空间已经占满 full
SKIP READONLYread-only tablespaces.旧分区转移到只读, 可以 skipread-only tablespaces once and then periodically depending on tape retention policy. 只读策略:一次+定期index tablespaces less frequently than data tablespaces.NOLOGGING operations finish to ensure recoverability
Image copies:
# command is to create a physical copy of the specified datafile
BACKUP AS COPY DATAFILE '/ORADATA/users_01_db01.dbf';
# to create physical copies of archivelogs that match the specified pattern.
BACKUP AS COPY ARCHIVELOG LIKE '/arch%';
Backup sets
# perform a backup of a specific tablespace
BACKUP AS BACKUPSET
FORMAT '/BACKUP/df_%d_%s_%p.bus'
TABLESPACE hr_data;
# default backup type, which is a backup set.
# 等效
BACKUP
FORMAT '/BACKUP/df_%d_%s_%p.bus'
TABLESPACE hr_data;
whole database backup
# perform a complete database backup, including both datafiles and archived redo logs.
BACKUP DATABASE PLUS ARCHIVELOG;
# DATABASE: backup of the entire database
# all datafiles, control files, and the server parameter file
Whole backup
control file along with all datafiles.incremental backup with RMAN.# backs up all datafiles, control files, and the server parameter file.
BACKUP DATABASE
# if the database is in ARCHIVELOG mode
BACKUP DATABASE PLUS ARCHIVELOG;
# The backup is typically stored in the Fast Recovery Area (FRA) or another designated location.
Full backup
incremental backup with RMAN.A level 0 incremental backup is physically identical to a full backup.
level 0 backup is recorded as an incremental backup in the RMAN repository. 记录不同,实际上一样.# perform a Level 0 backup
BACKUP LEVEL 0 DATABASE;
# perform a Level 1 backup
BACKUP INCREMENTAL LEVEL 1 DATABASE;
recovery catalog, holding the RMAN catalog information for more than 20 databases in the company. Backups and restore operations may be going on at any time. The databases are mission critical.