Skip to Content
0
Nov 19, 2012 at 03:38 PM

brarchive save options - save & second copy both to "disk"

363 Views

Hello,

We use brtools to manage our backups. We recently implemented a standby database and to ensure that we don't delete logs from disk before the standby database has applied them I am trying to configure a -second_copy run of brarchive to copy the archive logs from oraarch to a NFS mounted share.

Here is what happens now:

  1. Nightly brarchive runs with option -save to copy archive logs from oraarch to sapbackup
  2. Our backup software runs outside of brtools to move the archive logs from sapbackup to tape and deletes the archive logs from sapbackup
  3. Once a week brarchive runs with the -delete_saved option to clear up space in oraarch

I was hoping to change the sequence with the following

  • Perform a second brarchive run with the option -second_copy to copy the archives to a new directory called remotearchive (this is the NFS mount)
  • Change the -delete_saved weekly run to -delete_copied

This way I will be sure that the archive logs are on tape and on the remote server before they are deleted from the local disk of the primary database.

The issue I am having though is that -second_copy does not want to work with a disk target, it says target must be tape.

How can I achieve what I want with brarchive?

- Regards,

Richard Bailey