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
2
votes
2 answers

Reduce xen image disk usage

Two cases: 1.If making hdd image using dd and copy it trough nfs to another server: mount -o ro,remount / dd if=/dev/sda bs=64K | gzip -c > /share/test.img.gz then after gunzip I get 20Gb (for ex.) file, filled w/zeroes at the end: du -h…
Dmitry
  • 23
  • 4
2
votes
0 answers

Google PageSpeed suggests compression - but my site is https

Google PageSpeed suggests to deliver some static files like e.g. JavaScript, CSS. But as our site is HTTPS only we disabled compression in our web server because of security reasons. As far as I understood the BREACH attack it is not secure to…
Thomas
  • 21
  • 1
2
votes
1 answer

Which compressed file formats are efficient with rsync?

Every system admin knows that rsync is the way to go if you need to do backups of large files, e. g. a database file: since it uses delta compression, it only overwrites blocks that have been modified from the original file to the backup one,…
2
votes
1 answer

backup compression ratio in SQL 2012 worse than in SQL 2008

We have SQL 2008 Enterprise with TDE enabled and upgraded to SQL 2012 with TDE still enabled. Everything works fine except that I am getting worse backup compression than in SQL 2008. I do understand the limitation with Compression when TDE is…
Peter
  • 21
  • 1
2
votes
1 answer

Mounting compressed filesystem using FUSE

I'd like to move some folders on my computer to a compressed read/write images, so I could get it to take less disk space on my machine (the folders contain some Mercurial and Git repositories). Because I am not using these repositories daily, I'd…
Tomer Cohen
  • 121
  • 1
  • 4
2
votes
3 answers

Equivalent of grep -l for filenames in zipfile

Given a set of zip files, is there an easy way to list only those zipfiles that contain files whose names match a given pattern, cf. using grep -l to list only files whose contents contain lines matching a given pattern? The best I've been able to…
David Moles
  • 444
  • 1
  • 4
  • 13
2
votes
1 answer

windows 7.5 dynamic content compression iis

I have followed plenty blogs explaining how to enable iis7's dynamic content compression. These all seem to be based on windows server 2008. I try to do the same on IIS7.5 installed on a windows 7 pc. and the block is greyed out. This is because the…
Crudler
  • 207
  • 1
  • 3
  • 10
2
votes
1 answer

How can I speed up my Duplicity backup?

I need to perform onsite backups of hundreds of gigabytes from a few Xen VMs to some storage available on a dedicated server in the same network, with a Gigabit connection. The data is mostly MySQL data - I use Percona XtraDB Cluster - backed up…
Vito Botta
  • 327
  • 1
  • 7
  • 14
2
votes
1 answer

PowerShell Command 'write-zip' doesn't work

I am using a Powershell script to compress some files into a .zip file. My entire script looks like this: Write-Host "Creating Zip File... " -NoNewLine write-zip ("file1.txt", "file2.txt", "file3.txt", "logs") log.zip Write-Host "Done" This script…
user26712
  • 329
  • 1
  • 4
  • 10
2
votes
2 answers

Powershell Script to Zip Files

I'm new to Powershell. I have a need that I assumed that it would be perfect for. However, I've quickly come to the point where I feel I'm in over my head. Basically, I need to create a .zip file. I have a directory that looks like the…
user26712
  • 329
  • 1
  • 4
  • 10
2
votes
1 answer

How can find out how much space I'll save with NTFS compression before compressing?

Is there a way to estimate how much space I would save by compressing a folder with NTFS compression without actually compressing the folder? This is on a Windows 2008 R2 server in case that makes a difference.
zippy
  • 1,718
  • 3
  • 21
  • 36
2
votes
1 answer

zip file extracts faster than copying

System Win 7 32 bit. I am using WinRAR to extract a .rar file, but I think it is the same for any zipped files. I have: 1) SomeSourceCodeFolder.rar -> extract -> SomeDestCodeFolder 2) SomeSourceCodeFolder -> copy -> SomeDestCodeFolder 1st way is in…
Tom
  • 123
  • 1
  • 4
2
votes
0 answers

Cherokee force gzip compression for HTTP/1.0

I am using CloudFront with a Cherokee origin server for static files. Cherokee serves gzipped content for direct browser requests without any problem. But when CloudFront requests content, Cherokee serves it uncompressed because CloudFront is…
akkishore
  • 121
  • 2
2
votes
1 answer

zip 3.0 not backwardly compatible with zip 2.3.1?

I have two files, one I produced with zip 2.3.1 and the other I produced with zip 3.0. Both are a zip of the same directory. Here are the two files and their sizes: 1.7G from-2.3.1.zip 1.7G from-3.0.zip My plan is to transition my system to the…
Ted Gilchrist
  • 23
  • 1
  • 4
2
votes
1 answer

Gzip command to produce exact same output than tar -cvzf?

I did thought the following commands where equivalent, but they produce different checksums: tar -cvzf ... and tar -cvf ...; gzip ... does not produce the same output. sha1sumdiffers. What would be the gzip command that would perfectly match the tar…
Olivier
  • 415
  • 3
  • 5
  • 15