Name

BACKUP

Synopsis

Creates a backup of a database of a physical component such as a database file, of an archived redo log file, or of a logical component such as a tablespace. For Oracle8i, this command must be executed from within the RUN command.

Oracle9i SyntaxBACKUP [ FULL | INCREMENTAL LEVEL [=] 
integer ] 
[backupOperand [backupOperand ...]] 
backupSpec [backupSpec]...
[PLUS ARCHIVELOG
[backupSpecOperand [backupSpecOperand ...]]];

backupOperand :=
{ FORMAT [=] 'format_string' [, 'format_string' ...] 
| CHANNEL [']channel_id[']
| CUMULATIVE
| MAXSETSIZE [=] integer [ K | M | G ]
| FILESPERSET [=] integer
| PARMS [=] 'channel_parms'
| POOL [=] integer
| TAG [=] [']tag_name[']
| keepOption
| SKIP { OFFLINE | READONLY | INACCESSIBLE }
| NOEXCLUDE
| PROXY [ONLY]
| VALIDATE
| FORCE
| DISKRATIO [=] integer
| NOT BACKED UP [SINCE TIME [=] 'date_string']
| NOCHECKSUM
| CHECK LOGICAL
| COPIES [=] integer
| DEVICE TYPE deviceSpecifier
}

backupSpec :=
[(] 
{ BACKUPSET 
  { { ALL | completedTimeSpec } 
  | primary_key [, primary_key ...] 
  } 
| DATAFILE datafileSpec [, datafileSpec ...] 
| DATAFILECOPY 'filename' [, 'filename' ...]
| DATAFILECOPY TAG [=] [']tag_name['] [, 
    [']tag_name['] ...] 
| TABLESPACE [']tablespace_name['] 
    [, [']tablespace_name['] ...] 
| DATABASE 
| archivelogRecordSpecifier
| CURRENT CONTROLFILE [FOR STANDBY] 
| CONTROLFILECOPY 'filename'
}
[backupSpecOperand [backupSpecOperand]...] 
[)]

backupSpecOperand :=
{ FORMAT [=] 'format_string' [, 'format_string' ...] 
| CHANNEL [']channel_id ...

Get Oracle RMAN Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.