Most of the High Availability features of Oracle require you to enable ARCHIVELOG mode for your database. When you enable this mode redo logs will be archived instead of overwritten. Archive logs are utilized by RMAN, Data Guard, Flashback and many others.
Enabling archive mode is simple, just connect to your database in mounted but closed mode (start up mount) and alter the database. But if you don't tune a little you'll run into problems down the road, so lets specify some parameters too. Namely, consider LOG_ARCHIVE_DEST.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 417546240 bytes
Fixed Size 2213936 bytes
Variable Size 301991888 bytes
Database Buffers 109051904 bytes
Redo Buffers 4288512 bytes
Database mounted.
SQL> alter database archivelog;
Database altered.
SQL> alter database open;
Database altered.
SQL>
SQL> select log_mode from v$database;
LOG_MODE
------------
ARCHIVELOG
There are several system views that can provide us with information regarding archives, such as: