Delete archive log

ORACLE_RMAN_Delete archive log

1. Remove thearchive log directly

1). Remove thearchive log;

2). Delete therecord of the database

# su - oracle

$ rman target /

RMAN> listarchivelog all;

RMAN>crosscheck archivelog all;

RMAN> deletenoprompt expired archivelog all;

RMAN> exit;

 

2. We can deletethe archive before the special day:

$ rman target /

RMAN> listarchivelog all;

RMAN>crosscheck archivelog all;

RMAN> deletenoprompt archivelog until time 'sysdate-7';

RMAN> exit;

3. Sugggest tofinish the full backup ASAP.

你可能感兴趣的:(Delete archive log)