You can enable automatic archiving for the Oracle installation using SPFILE.
To enable automatic archiving for Oracle installation using SPFILE
show parameter log
CONNECT SYS/SYS_PASSWORD AS SYSDBA
STARTUP MOUNT EXCLUSIVE
ALTER SYSTEM SET LOG_ARCHIVE_START = TRUE SCOPE = SPFILE; ALTER SYSTEM SET LOG_ARCHIVE_DEST=“c:\oracle\oradata\ORCL\archive” SCOPE = SPFILE; ALTER SYSTEM SET LOG_ARCHIVE_FORMAT=”ARC%S.%T” SCOPE = SPFILE;
Note: The actual value of LOG_ARCHIVE_DEST is specific to your environment.
For more information about automatic archiving, see the Oracle documentation.
Copyright © 2015 |
|