Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: backing up redo log files.
On Monday 08 October 2001 16:27, Kevin S. Smith wrote:
> I am using the tar command to copy my redo log files to tape using the
> following syntax:
>
>
> FILES= ls /u04/archive/arc_*.dbf; Export FILES;
>
> after restarting the archiver, I then use:
>
> tar -rvf /dev/tapedevice $Files
Use the -c option to create an archive. The -r option appends files to the end of an already existing archive. Not what you want.
tar -cvf /dev/tapedev $Files
should work. BTW, Oracle recommends *not* backing up your online redo logs, but rather recommends backing up your archived redo logs. That way you will not accidentally restore your redo logs when trying to recover a database. That would be bad. Received on Mon Oct 08 2001 - 17:31:55 CDT
![]() |
![]() |