Oracle9i Recovery Manager Reference
Release 1 (9.0.1)

Part Number A90136-02
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 60


completedTimeSpec

Syntax


Text description of complete.gif follows
Text description of the illustration complete.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

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 /oracle/dbs/tbs_22.f made before October 13, 2000:

LIST COPY OF DATAFILE '/oracle/dbs/tbs_22.f' COMPLETED BEFORE 'Oct 13 2000 20:31:10';

Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, 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