The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
backing up file everytime script run and saving other backups knc9233 UNIX for Dummies Questions & Answers 4 01-29-2007 06:21 AM
backing up the vtoc BG_JrAdmin UNIX for Dummies Questions & Answers 1 12-22-2005 05:33 PM
Best practises for backing up d11wtq UNIX for Dummies Questions & Answers 2 07-06-2005 05:11 PM
Backing Up Directories indigoecho UNIX for Dummies Questions & Answers 2 12-17-2003 03:42 PM
backing up merlin UNIX for Dummies Questions & Answers 4 09-09-2001 01:35 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-24-2008
Registered User
 

Join Date: Mar 2005
Posts: 20
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.
Reply With Quote
Forum Sponsor
  #2  
Old 09-24-2008
Tytalus's Avatar
Registered User
 

Join Date: Jun 2003
Location: Scotland
Posts: 290
check out the logadm command....
Reply With Quote
  #3  
Old 09-24-2008
Registered User
 

Join Date: Mar 2005
Posts: 20
Dont have it in my OS

Thanks for your response.

Dont have logadm in HP-UX 11.11
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 03:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0