CPUG

The Check Point User Group

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

1. Come to CPUG CON 2008 EUROPE in Switzerland on September 8th - 9th!
    Two days full of technical content for Check Point administrators in the beautiful Swiss Alps!
    We already have 72 attendees signed up from 20 countries!
2. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 10/6, 11/3, 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3, 9/7.
3. Corrent S3500 SecureXL Turbocards For Sale - Last Six Remaining - Get Your Spares!
4. 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
Joe T Joe T is offline
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
godspeedcapri godspeedcapri is offline
Member
 
Join Date: 2006-10-16
Location: Brisbane, Australia
Posts: 92
Rep Power: 2
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
Joe T Joe T is offline
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 21:15.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0