Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Backup
[This followup was posted to comp.databases.oracle.server and a copy was sent to the cited author.]
In article <01bd41de$7c009500$1405350a_at_andreas2.se-nord.provinz.bz.it>,
amoroder_at_se-nord.provinz.bz.it says...
> Hello all,
>
> i want to compress my archive-log files before backing up, but how do i
> know
> if the archive has finished to write the last file. If i begin to compress
> or even to backup the last file while it is being written by the archiver,
> i get only a partial backup of this file
I just don't compress the most recent archive log to make sure that I don't accidentally compress a log file that is in the process of being written. ls -t will give you a list from the most recent to the oldest. Just skip the first one and compress the rest.
--rick Received on Wed Feb 25 1998 - 00:00:00 CST
![]() |
![]() |