Got it

How Do I Switch the Non-RAC Database to the Archivelog Mode

Latest reply: May 31, 2018 13:08:01 1187 3 1 0 0

To use RMAN to perform hot backup, you must manually switch the database to the archivelog mode by referring to the following steps.

It is recommended that you perform the following operations directly on the server.

  1. Change the values of log_archive_format and log_archive_dest_1.

    alter system set log_archive_format='ora11_%r_%t_%s.log' scope=spfile;

    alter system set log_archive_dest='' scope=spfile;

    alter system set log_archive_dest_1='LOCATION=/opt/oracle/product/11gR2/db/dbs' scope=spfile;
    icon-note.gif NOTE:

    Here, /opt/oracle/product/11gR2/db/dbs is the path where archive logs locate. Change the path based on the site requirements.

  2. Change the database status to shut down.

    shutdown immediate

  3. Change the database status to mounted.

    startup mount

  4. Change the database log mode to ARCHIVELOG.

    alter database ARCHIVELOG;

  5. Change the database status to opened.

    alter database open;

thanks
View more
  • x
  • convention:

Thank you for sharing
View more
  • x
  • convention:

:)
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.