You may choose not to enable automatic archiving for your database if you are
archiving to a location that is not always accessible. You may be archiving directly to tape, for example, and may not want to leave the archival
tape permanently mounted in the drive. In such a situation, you can periodically mount the tape, archive whatever log files have been filled, and then dismount the tape. Note that you would have to repeat the process throughout the day, and the interval after which you would repeat the process would depend on the number and size of your redo log files and the rate that that redo was being generated.
The ALTER SYSTEM command may be used to archive one or more log files manually.
The following diagram describes the syntax used for this purpose:
manually Archiving Log Files
In normal database operations, the NEXT and ALL options are the most useful. For example, if you were periodically archiving all your log files to tape, you would use this command:
ALTER SYSTEM ARCHIVE LOG ALL;
In addition to the ALTER SYSTEM SQL statement, the NEXT and ALL options may be used with the Server Manager ARCHIVE LOG command. So if you were using Server Manager, you could issue an ARCHIVE LOG ALL command.
In the next lesson, you will learn how to view a list of the log history.