You are on page 1of 1

ARCHIVING

It is offline copy of Redo log files. Which is necessary for recovery purpose?

1 Create a folder in D: or any other drive as d:\archiv


2 Then go to pfile in the particular database open pfile in notepad format
3 Add the following parameter in that file
log_archive_start=true
log_archive_dest='D:\Archive'
log_archive_format=arc%s_%r.%t
4 save the file
5 then go to command prompt
6 connect to the particular database by giving following command
7 set oracle_sid=amlngp1
8 then type sqlplus
9 enter the user name as sys as sysdba
10 ehter the password as admin
11 then type shutdown immediate ( for Shuting down an instance & closing the
databse)
12 then type startup mount (for mounting the database)
13 the write the command
14 SQL>alter system archive log start; (for starting archiving)
15 SQL>alter database archivelog ; (Converting database into archiving)
16 SQL>alter database open (for opening database)
17 TO CHECK ARCHVING OF THE DATABSE WE GIVE THE COMMAND
18 SQL>SELECT * FROM V$LOG;
19

Now your archiving process is completed.

You might also like