CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > Disaster Recovery
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2007-02-07
Junior Member
 
Join Date: 2006-10-30
Posts: 22
Rep Power: 0
Joe T has an average reputation (10+)
Default GunZip process

What is the process of zipping files to compress them? My /var is at 82% so I am a little uncomfortable.

I have my logs switch on a daily basis. My /var/opt/CPfw1-R55p/log directory is very large. I would like to compress it and move the files somewhere off the box.

Is there a command for zipping log files a month at a time? I would like to zip them in directories for the month of generation.

Thanks, Joe
Reply With Quote
  #2 (permalink)  
Old 2007-02-22
Member
 
Join Date: 2006-10-16
Location: Brisbane, Australia
Posts: 92
Rep Power: 3
godspeedcapri has an average reputation (10+)
Default Re: GunZip process

Quote:
Originally Posted by Joe T View Post
What is the process of zipping files to compress them? My /var is at 82% so I am a little uncomfortable.

I have my logs switch on a daily basis. My /var/opt/CPfw1-R55p/log directory is very large. I would like to compress it and move the files somewhere off the box.

Is there a command for zipping log files a month at a time? I would like to zip them in directories for the month of generation.

Thanks, Joe
Archiving process:

Compress:
gzip archive.tar

Decompress:
gunzip archive.tar.gz

tar c dir/ | bzip2 > dir.tar.bz2

Run a cron job which takes all the log files for that month and archives them to create a gzip file with date and time stamp as the name.
__________________
Cheers,
GodSpeedCapri
Reply With Quote
  #3 (permalink)  
Old 2007-03-07
Junior Member
 
Join Date: 2006-10-30
Posts: 22
Rep Power: 0
Joe T has an average reputation (10+)
Default Re: GunZip process

Thanks,
Joe
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 07:08.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0