Backing up Log file

Hi,

Iam trying to create a back up file for a log file which is being continously updated.

Is there a way to backup without loosing the log, while the back up is also up to date?

If i try to replace the log with an empty file, I loose the log for some seconds.

If I try to create a back up file, the log is immediately updated and my back up is no more current.

In short, I want to retain 6 months data in the log file and it should continue to have all updations as they occur. The rest of the old data I want to push into a new file. Is there a better way to do this.

Thanks for your help.

check out the logadm command....

Thanks for your response.

Dont have logadm in HP-UX 11.11