REM $Id: archivelog.sql 3441 2008-02-01 11:39:10Z hardya $
conn &&user/&&password as sysdba;
shutdown immediate;
conn &&user/&&password as sysdba;
startup mount;
alter database force logging;
alter system set log_archive_dest_1='location=s:\orabackup\webmip\archivelogs\' scope=both;
/* 
set the time by which archive logs 
should lag the redo in seconds 
*/
alter system set archive_lag_target=2700;
alter database archivelog;
alter database open;
