Skip Headers

Oracle9i Recovery Manager Reference
Release 2 (9.2)

Part Number A96565-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

RMAN Commands , 14 of 59


completedTimeSpec

Syntax

Text description of completedTimeSpec.gif follows
Text description of the illustration completedTimeSpec.gif


Purpose

A subclause that specifies when a backup or copy completed.

Restrictions and Usage Notes

All date strings must be either:

Keywords and Parameters

Syntax Element Description

AFTER 'date_string'

Specifies the time after which the backup was completed.

BETWEEN 'date_string' AND 'date_string'

Specifies a time range during which the backup was completed. Note that BETWEEN 'date1' AND 'date2' is exactly equivalent to AFTER 'date1' BEFORE 'date2'.

BEFORE 'date_string'

Specifies the time before which the backup was completed.

Examples

Crosschecking Backups Within a Time Range: Example

This example crosschecks the backup sets of the database made last month:

CROSSCHECK BACKUP OF DATABASE COMPLETED BETWEEN 'SYSDATE-62' AND 'SYSDATE-31';
Deleting Expired Backups: Example

This example deletes expired backup sets of datafile 1 made in the last two weeks:

DELETE EXPIRED BACKUP OF DATAFILE 1 COMPLETED AFTER 'SYSDATE-14';
Listing Copies: Example

This example lists image copies of datafile ?/oradata/trgt/users01.dbf made before September 27, 2001:

LIST COPY OF DATAFILE '?/oradata/trgt/users01.dbf' 
  COMPLETED BEFORE '27-SEP-01';

Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback