Opening or Bringing The Database in Archivelog Mode
To open a database in archive log mode, shutdown the database, take a full offline backup, set the LOG_ARCHIVE parameters in the parameter file, start and mount the database, use ALTER DATABASE ARCHIVELOG, confirm with ARCHIVE LOG LIST, open the database, and take another full backup. To return to NOARCHIVELOG mode, shutdown, comment out the LOG_ARCHIVE parameters, startup and mount, use ALTER DATABASE NOARCHIVELOG, and shutdown to backup.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
27 views1 page
Opening or Bringing The Database in Archivelog Mode
To open a database in archive log mode, shutdown the database, take a full offline backup, set the LOG_ARCHIVE parameters in the parameter file, start and mount the database, use ALTER DATABASE ARCHIVELOG, confirm with ARCHIVE LOG LIST, open the database, and take another full backup. To return to NOARCHIVELOG mode, shutdown, comment out the LOG_ARCHIVE parameters, startup and mount, use ALTER DATABASE NOARCHIVELOG, and shutdown to backup.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
Opening or Bringing the database in Archivelog mode.
To open the database in Archive log mode. Follow these steps:
STEP 1: Shutdown the database if it is running. STEP 2: Take a full offline backup. STEP 3: Set the following parameters in parameter file. LOG_ARCHIVE_FORMAT=ica%s.%t.%r.arc LOG_ARCHIVE_DEST_1=”location=/u02/ica/arc1” If you want you can specify second destination also LOG_ARCHIVE_DEST_2=”location=/u02/ica/arc2” Step 3: Start and mount the database. SQL> STARTUP MOUNT STEP 4: Give the following command SQL> ALTER DATABASE ARCHIVELOG; STEP 5: Then type the following to confirm. SQL> ARCHIVE LOG LIST; STEP 6: Now open the database SQL>alter database open; Step 7: It is recommended that you take a full backup after you brought the database in archive log mode. To again bring back the database in NOARCHIVELOG mode. Follow these steps: STEP 1: Shutdown the database if it is running. STEP 2: Comment the following parameters in parameter file by putting " # " . # LOG_ARCHIVE_DEST_1=”location=/u02/ica/arc1” # LOG_ARCHIVE_DEST_2=”location=/u02/ica/arc2” # LOG_ARCHIVE_FORMAT=ica%s.%t.%r.arc STEP 3: Startup and mount the database. SQL> STARTUP MOUNT; STEP 4: Give the following Commands SQL> ALTER DATABASE NOARCHIVELOG; STEP 5: Shutdown the database and take full offline backup.