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.

learn more… | top users | synonyms

3
votes
2answers
2k views

Setting MySQL INNODB Compression KEY_BLOCK_SIZE

I recently started using the Barracuda InnoDB/MySQL table format which allows compression. I compressed one of my tables by running: alter table pricing row_format=compressed, key_block_size=8; ...
1
vote
2answers
163 views

Is it a good idea to compress a MS SQL database backup?

Quick question! I heard that we should never shrink our databases. However, does the same rules apply to compressing our SQL backup? Thanks
6
votes
4answers
429 views

Join large overlapping files

I am trying to recover a (MySQL) database from a crashed disk. There are a number of recent dumps, which are corrupted bz2 files. Since the database does not change often, the dumps should be nearly ...
0
votes
1answer
630 views

How can I compress large log files on Windows 2008 Server?

Some of our log files are > 4GB, and the build-in windows zip will not compress them. I need to get them off the box, and really don't want to download them uncompressed. I can't install any ...
2
votes
1answer
168 views

How to remove a certain folder when tar zipping?

I want to remove a folder when I'm creating a tar.gz file as it's for a backup and it takes too much space and is not required I am using the following command; tar -cvzf ...
1
vote
1answer
868 views

IIS 7.5 Not Compressing Javascript: NO_MATCHING_CONTENT_TYPE

I have IIS 7.5 set to compress all static files (the default), yet it does not compress .js (javascript) files. When I turn on failed request tracing for compression, the error I get for the ...
2
votes
1answer
16k views

Zip for Windows Server 2008 command line?

I know that this has been asked before, but I have not found an answer for Windows Server 2008. Most references I found are with the Windows Server 2003 Resource Kit, but not for 2008. I know that ...
1
vote
1answer
755 views

how nginx serves large files

We have a problem with loading a pdf file which is about 300KB size on our web page. The pdf is being served by nginx. Whenever I load the file, it shows an error saying Failed to open pdf document, ...
5
votes
1answer
2k views

Unzip without path

I would expect the following command to extract the contents of the top directory in the zip file to the destination directory: unzip file.zip topdir/\* -d destdir However, what I get is ...
1
vote
2answers
385 views

Disk cloning using dd thru gzip - how effective is it? [closed]

Is gzip or gzip -9 for a disk clone worth the extra time that it takes to perform the compression? Does it yield a significant saving? There is very little information on how effective piping data ...
0
votes
1answer
688 views

How to avoid IIS from overwriting some HTTP Headers?

I have enabled in my Web.config the GZIP compression, and I'm glad that it automatically adds the HTTP header "Vary: Accept-Encoding". The problem is that IIS is overwriting the "Vary:*" that ...
0
votes
1answer
361 views

IIS7 compression failing with “COMPRESSION_DISABLED” despite having the option enabled

I have been unable to get GZIP compression working on my IIS7.5 server. I have tried all the suggestions online, including here at ServerFault and no matter what, the trace always comes back stating ...
0
votes
2answers
6k views

Installing p7zip on CentOS 5

I need some help here..., I'm working on a windows PC, SSHed into my server. I want to install p7zip (linux command line version of 7zip): http://sourceforge.net/projects/p7zip/files/p7zip/9.20.1/ ...
0
votes
1answer
186 views

Different options on btrfs subvolumes

I'm using kernel 3.0 and was wondering if btrfs supports / is planning to support different options on different subvolumes. For example I'd like to turn compression on for /usr, /lib, ..., but not ...
0
votes
3answers
2k views

zip does not work for big files

What is the best way to compress a file if it is more than 4 GB in size? I am using the following for last several months. mysqldump --all-databases | zip > mybackup.zip Today I am got an ...
2
votes
0answers
513 views

IIS 7.5 no static or dynamic compression

I can't get static or dynamic compression to work on a new server for .ASP, .JS or .CSS files. I'm running Windows Server 2008 R2 Standard 64 bit. Under IIS Role Services, I have ASP installed, as ...
2
votes
2answers
1k views

Batch unzip .zip files using 7z [closed]

I have downloaded a large number of .zip files and need to extract them using 7z (p7zip) at the command line. 7z x filename0001.zip is successful, but 7z x *.zip returns a "No files to process" error. ...
5
votes
3answers
10k views

How to use GZip to create a .zip file

Is it possible to use GZip to create a .zip file? I've been Googling and can't find anything that leads me to believe this is possible
2
votes
2answers
3k views

Trying to unzip a file with Powershell

I'm trying to unzip a bunch of archives including the new xlsx files into a TMP folder and then work on that folder and then remove it. And shit just doesnt want to go my way. $spath = ...
8
votes
1answer
727 views

Is there a compression format that supports tail operations?

I'm looking for a compression format that supports being tailed. Meaning you dont have to read the entire file to get the last X uncompressed bytes. Is this possible with any of the formats like ...
0
votes
1answer
348 views

Serve pre-compressed html files using apache2, functionality equivalent to mod_gunzip

Is there a way to implement mod_gunzip's functionality using apache filters? Store gzipped files on the server, hand out compressed data to the browsers that can cope with it and uncompress it for ...
0
votes
2answers
433 views

CRC Failed, File is broken, using php system command to tar a directory

Can anybody see a problem with the below PHP code? Or have any ideas to troubleshoot a solution as to why whenever I download the backup file.tar.gz and try to open it using 7zip on windows... that I ...
4
votes
2answers
4k views

Why does the .NET Folder.CopyHere Method not allow dialog suppression for .ZIP files when run within a SQL Server Agent PowerShell job step?

I am using PowerShell in a SQL Server Agent job step to automate the extraction of .ZIP file contents to a directory. Based upon highest-voted answer on this question: How to zip/unzip files in ...
0
votes
2answers
2k views

Folder permissions when zip and unzip on Windows

I've a webserver Windows 2003. When I do a backup in a zip of some folders, the permissions of the folder doesnt restore when i unzip the compress file. How can I do a zip saving the original ...
1
vote
2answers
2k views

IIS7 Windows Server 2008 Add Roles Stalls

I'm trying to install Dynamic Content Compression on IIS 7 on Windows Server 2008 SP2. Tried going to Server Management -> Roles -> Add Role -> Check Dynamic Content Compression. Click next and it ...
2
votes
0answers
769 views

Content Encoding Error on new IIS 7 server with PHP

I recently moved a PHP (Cake framework) development site from an IIS 6 (x86) server to an IIS 7 server (x64). The content is all the same and the URL rewriting works, but on the attempt to display the ...
2
votes
1answer
1k views

Force download of zip file stopping a few thousand bytes short

I'm trying to start a force download of a zip file containing a large amount of images. I'm using php to force the download and it's running on nginx. The weird thing is when i use wget to download ...
0
votes
1answer
514 views

Enable Http Compression in IIS 7.5

I'm trying to enable HTTP compression to my web site, my server is running Windows 2008R2 and IIS 7.5. I followed these steps: installed static and dynamic compression through the Serve manager. ...
0
votes
2answers
77 views

Compressing directories on server without ssh

Is there a way to compress directories on a server without ssh access? We are transferring many domains and there is no ssh available on the current server. We would like to secure copy the ...
2
votes
1answer
3k views

Content Encoding Error when loading an URL in browser

One particular page on our site - http://www.newint.org/issues/1979/10/01/ - gives a Content Encoding Error when loaded in a browser. In Firefox, it says: "Content Encoding Error The page you are ...
0
votes
2answers
1k views

WinZip, 7zip, Winrar Command Line to Compress structure of folders

I have a Windows Server 2008R2 which has a massive file share of Video files, I need to run a zip command line in a batch script which will : a) Compress / zip each video file inside each folder ...
6
votes
1answer
522 views

Apache deflates .xml.gz files

I noticed an error in google webmaster tools regarding a gzipped version of a sitemap. Turns out the sitemap.xml.gz file is gzipped twice: one upon creation (as it should be) and another time when ...
4
votes
1answer
7k views

How to install the dynamic content compression component of IIS (both 6 and 7) non interactively?

Any of the following goes as non interactive for me: Command line silent installation Script file Code (.NET, C, VB, whatever) Thanks. EDIT I'd like to stress, that I wish to install the module ...
0
votes
1answer
318 views

Am I doing ubuntu 10.0.4 software installation correctly (packages and none-packages)?

Background: I first installed everything using a terminal and "sudo su", i.e. as root. Then I installed jenkins, and then the jenkins user could not run any android sdk tools in /root/androidsdk/tools ...
1
vote
2answers
78 views

Batch file problems

I have created a batch file to copy and zip up an entire drive of data on my server. I have selected the D:\ drive to be copied and zipped. However, I have one problem. When I run the batch file, only ...
6
votes
1answer
302 views

Ultra-efficient compression

I store a very large (TBytes) amount of logs. These logs will rarely be extracted, and when they will - only a single file will be required. Could you recommend an ultra-efficient and extremely ...
6
votes
1answer
10k views

How can I enable GZIP compression in Jetty?

I have a Jetty server which does not have compression enabled (I tested this here). How can I enable compression?
-1
votes
1answer
1k views

Which is better: Nginx compression or Apache Compression?

I have an nginx reverse proxy in front of my apache server. How should I configure compression (gzip or deflate) to serve my website? Should it be from nginx or from mod_deflate from apache? My ...
0
votes
2answers
1k views

how to install ZIP (ZZIPlib) for PHP on CentOS

I have Cent OS 5 and want to install ZIP or ZIPlib extension i tried to look it up using YUM utility and its not there how can i install it?
1
vote
1answer
2k views

Create ZIP archive without storing permissions?

I am distributing packaged files in ZIP format. I use the following to create: zip -r distr.zip files/ When expanded on other UNIX system files preserve their permissions as they were when I packed ...
1
vote
2answers
107 views

Is it possible to store MySQL data as comressed?

Is it possible to store MySQL data compressed? Option for that in MySQL?
1
vote
0answers
21 views

gnome file roller never overrides existing files

When using gnome file roller (Archive manager), it never seems to overwrite existing files, independent from access rights. There is also no error message. Is this expected functionality?
3
votes
2answers
440 views

Erratic gzip compression on IIS7.5

This is best demonstrated when we just try to request a single CSS file from our IIS server. Sometimes we get the whole uncompressed file back. We'll wait 5 seconds and refresh, then the CSS file is ...
0
votes
1answer
636 views

gzip, deflate are not showing while accessing from a proxy

We enabled gzip and deflate in our local server and it shows correctly in phpinfo like shown below HTTP_ACCEPT_ENCODING gzip,deflate,sdch We installed the same in our client's server and there was ...
5
votes
3answers
4k views

Limiting 7zip CPU usage on Windows Server 2008 (from batch file)

Does anyone know of a way (specific to 7zip or general) to limit the CPU usage of 7zip while it is archiving a long list of files? OS is Windows Server 2008 R2, and 7zip is run via command line from a ...
24
votes
2answers
20k views

How can I zip/compress a symlink?

Is it possible and how can I zip a symlink from a linux shell?
0
votes
1answer
481 views

Possible to upload weblogs to Google Analytics?

It's always bothered me that Google Analytics (and similar embedded web traffic monitoring services) can only see a reflection of the traffic going to my server and can only see page visits. If I want ...
0
votes
2answers
602 views

IIS6 wont compress js and css

So recently I configured IIS6 to compress files I now have most files compressing apart from my JavaScript and CSS files. Does anyone have an idea what maybe causing them not to be compressed. I know ...
0
votes
1answer
508 views

unzip into subdirectory in Linux

I have a zip file, and would like to unzip a subdirectory of it to another subdirectory, overwriting all existing files. How can this be done in Linux? Example: The zip file hi.zip has a "me" folder ...
1
vote
1answer
140 views

How does random access work with compressed drives on Windows?

If one turns on drive compression in Windows Server 2003 (ignoring dire warnings of performance), how does random access to that file work? Does Windows create a temporary uncompressed version of the ...