René Nyffenegger's collection of things on the web | |
René Nyffenegger on Oracle - Most wanted - Feedback
- Follow @renenyffenegger
|
RMAN commands | ||
allocate channel
Allocates a channel.
The allocate channel command must be placed in a run block along with the commands that use that channel.
configure
Configures the RMAN environment with persistent settings. The stored settings can be displayed with show all.
If CONFIGURE CONTROLFILE AUTOBACKUP is issued, RMAN does a control file autobackup is the automatic backup that RMAN makes either after every
backup configuration
Setting the retention policy that will apply to all datafiles by default:
configure retention policy to recovery window of 5 days;
Specify that at least three backup files of a file are on disk.
configure retention policy to redundancy 3 channel
Configures a channel with persistent settings. They can be overridden with allocate channel.
crosscheck
Checks if backups and copies are readable by RMAN.
deleteobsolete backup files
Delete the obsolete backup files. Obsolete backup files can be listed with report obsolete.
delete obsolete exitexit
Quits the RMAN client.
listreportobsolete backups
List the backups (on disk) that have become obsolete with the current retention policy. They can be deleted with
delete obsolete.
report obsolete runrun { rman-command-1; rman-command-2; ... rman-command-n; } showshow all
Displays persistent settings that were set with configure.
|