Problem solve Get help with specific problems with your technologies, process and projects.

Shipping archive logs automatically

We have Server A and Server B. We are using Oracle 8i on a Win2000 server. Archive logs are getting generated on...

Server A. I want to ship archive logs of Server A to Server B automatically. How can I do it?

There are a couple of ways to do this. Probably the easiest is to make a network connection from Server A to Server B's disk drive. If both servers are Windows, this is pretty easy. Then, on your database on Server A, you'll want to tell the archiver process, ARCH, to archive to both destinations, local and remote. This can be done with the LOG_ARCHIVE_DEST_n parameter. Set them as follows:

LOG_ARCHIVE_DEST_1 = \localdir\
LOG_ARCHIVE_DEST_2 = \remotedir\
Don't forget to bounce the database for this to take effect. Now, ARCH will archive to both destinations! I strongly suggest that you look up the rest of the options in the Oracle Reference guide for this parameter. You can make the archive destinations mandatory or optional. This may be important to you.

For More Information

This was last published in February 2003

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.