Questions tagged [compression]

Decrease the size of data, typically to preserve space or reduce network bandwidth required while transmitting files. It can be applied to files, folders, disks, etc.

418 questions
0
votes
3 answers

How to zip lots of folders into three+ independent zip files?

I have a massive amount of folders, and I want to zip/gzip/(what ever) them into 3 or more independent files. So for example, let's say I have this directories on my server: /dir1 /dir2 /dir3 /dir4 /dir5 /dir6 I need to somehow zip them in 3…
Jinx
  • 101
  • 4
0
votes
1 answer

Unable to Unzip a tar.gz.bz2

We run daily backups of our MySQL server. Using the following script: [ ! -d "${DEST}" ] && mkdir -p "${DEST}" FILE=${DEST}/mysql-live.${NOW}-$(date +"%T").tar.gz.bz2 # get around error mysqldump --single-transaction -u $MUSER -h $MHOST -p$MPASS…
Joseph
  • 293
  • 2
  • 7
  • 14
0
votes
0 answers

Bzip2 not deleting original files

I have a 100GB large backup file, which i compress with bzip2. But bzip2 for some reason keeps the original file. If i try it, it deletes the original file as it should: # touch file # ls file* file # bzip2 -z file # ls file* file.bz2 But when i…
Tomyk
  • 111
  • 6
0
votes
2 answers

Compress and remove logs from jboss on linux with cron

I need to compress and remove log files after some time from serwer. I have never write scripts before. So far i have script logs.sh:…
user2377971
  • 101
  • 1
  • 3
0
votes
0 answers

Compression with Hard Linking and Live Mounts

With Windows XP recieving its final updates in the coming months, I've been looking into how I can get all three XP versions, with the latest updates, and basic drivers, onto a single CD. In the past I was able to do this simply by removing a few of…
Ecksters
  • 123
  • 4
0
votes
3 answers

Fast Compression of Database Backups

Background: I need to revise/improve an automated process I created a couple years ago on a group of servers. The process goes as follows: Generate full backups of all SQL databases available in a particular SQL instance (hosted on server A) Grab…
nairware
  • 309
  • 2
  • 10
  • 17
0
votes
0 answers

Copying large files to Server 2008 compressed directory very slow with no obvious reason

I've observed a curious problem with our Windows Server 2008 x64 based file server when copying large (~3GB) files from a Windows 7 x64 workstation. The copy becomes extremely slow often proceeding at 100kB/sec or less. Additionally all other SMB…
0
votes
1 answer

Compress with Gzip or Deflate my CSS & JS files

i ve a fashion website & using wordpress. I want to Compress or Gzip or Deflate my CSS & JS files. i have tried many codes with .htaccess to compress but not working. Would any body help me please? My phpinfo is…
muhammad usman
  • 103
  • 1
  • 1
  • 3
0
votes
1 answer

gzip compression with nginx - Not being reported correctly in tests?

nginx 1.4.2 Google Pagespeed Insights (web version) is reporting that I should compress a number of .js files on my site. I've checked the mime.types config file and it includes the default application/x-javascript js; directive. I've…
steveharman
  • 3
  • 1
  • 2
0
votes
1 answer

Rsyncable Snappy?

I have some massive Cassandra clusters that I'm maintaining on EC2. Backups offsite take a long time as the snapshots have to be tar-ed and gzip-ed and pushed over the network from the EC2 instance to EBS. My question is whether we can decrease…
jennykwan
  • 141
  • 7
0
votes
1 answer

Check if traffic is gzipped

I have an application server running on port 80. How can I check if the incoming and outgoing traffic is gzipped? Also, the application communicates with another server (also HTTP requests). I'd like to check these connections are compressed as…
pistacchio
  • 447
  • 7
  • 18
0
votes
3 answers

How to disable SSL/TLS compression in Apache 2.2.16?

I have one sever running on Apache 2.2.16. I run the VA scanner on the server. According to the VA report it is recommended that SSL/TLS compression should be off. I tried to search google, but didnt find any helpful. Can anybody tell me how to set…
NapdaN
  • 11
  • 1
  • 1
  • 2
0
votes
1 answer

Deleting Files in a Zip Archive on Linux

I have a situation where I need to be able to run a script and delete specific files within a zip archive. Below is the general…
Eric
  • 1,383
  • 3
  • 17
  • 34
0
votes
1 answer

Cannot make mod_gzip

I am trying to compile mod_gzip to my Apache 2.2.22 setup. I get the following error when running make: $ make /usr/sbin/apxs -Wc,-Wall,-O3,-fomit-frame-pointer,-pipe -c mod_gzip.c mod_gzip_debug.c mod_gzip_compress.c -o…
0
votes
2 answers

Protection against "CRIME attack"/Disable SSL compression under Ubuntu/Apache/2.2.22

I'm trying to disable SSL compression in my server, but can't because SSLCompression option isn't yet avaliable with my current apache installation. I found a patch that will give me that option http://pastebin.com/FnvUyjdJ, but have no ideia how to…
Lucas Pelegrino
  • 202
  • 1
  • 4
  • 10