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

ZFS: very big files + compression + snapshots

I backup several virtual disks (total = around 4 Tb), with several weeks of retention time. I use 4 x 4 Tb disks in the computer dedicated to primary backup. The filesystem is ZFS RAIDZ2, so 8 Tb usable. A secondary backup of 4 x 2 Tb disks (4 Tb…
Gregory MOUSSAT
  • 1,673
  • 2
  • 25
  • 50
4
votes
3 answers

Lightweight transparent compression filesystem?

I have an AMD64 KVM VPS at RamNode, it has 30 GB disk, 256 MB RAM, and 1 "virtual CPU" (I have no idea of the specs of the host CPU). It will be used to store many small, easily compressed files, mostly <50kb, text/HTML. I want to use a compressing…
hanshenrik
  • 236
  • 2
  • 13
4
votes
2 answers

Mirroring harddisk with compressed files with Robocopy

I tried to mirroring an existing disks on a new disks with less space. It is very important that the file structure, attributes and ACL's are exact as on the source disk. For this I tried robocopy.exe: robocopy $sourceDisk $destinationDisk /mir /XD…
larkee
  • 191
  • 1
  • 8
4
votes
3 answers

How to test IIS Compression?

I was reading the following article on how IIS compression makes the website run faster. I have configured the IIS 6.0 in compression mode as per:http://www.wwwcoder.com/main/parentid/170/site/3669/68/default.aspx Now I want to see some figures…
ala
  • 185
  • 1
  • 2
  • 7
4
votes
1 answer

IIS 7.5 inconsistently Gzips files (with PHP & ASP.NET)

I made some changes to the web.config of a server running IIS 7.5 improve the performance (mostly front-end). A 3rd party testing tool says the site is running "PHP/5.3.10, ASP.NET" and if memory serves, it is ASP.NET 4.5 I think it's due to the odd…
adam-asdf
  • 191
  • 1
  • 11
4
votes
2 answers

Zipping only files using powershell

I'm trying to zip all the files in a single directory to a different folder as part of a simple backup routine. The code runs ok but doesn't produce a zip file: $srcdir = "H:\Backup" $filename = "test.zip" $destpath = "K:\" $zip_file = (new-object…
SteB
  • 989
  • 6
  • 15
  • 31
4
votes
1 answer

How to disable gzip compression for particular virtual host apache

Im using Apache and I have enabled zip compression to all my virtual host domain. However, I want to disable the gzip compression on one particular virtual host only. I try this method. All separated virtual host file i.e. domain.com.conf has this…
James W.
  • 749
  • 2
  • 7
  • 12
4
votes
1 answer

Zipping folder with absolute path without keeping tree of folders

I am attempting to use the zip -r command to zip a folder which includes two files. I need to pass the absolute path of the folder with two files (/path/to/my/files/), which is causing all of the folders to be zipped with it, where as I only need…
Preston
  • 143
  • 1
  • 4
4
votes
1 answer

Enabling HTTP Compression in WebSphere Application Server 7

I know the correct way of enabling gzip HTTP Compression for a WebSphere Application Server is to activate and configure the mod_gzip module in the IBM HTTP Server connected/installed in this environment. However, our WAS 7 environments don't have…
Filipe Fedalto
  • 141
  • 1
  • 4
4
votes
1 answer

Can I manually compress file when logrotate with delaycompress is active

I have a daily logrotate set up with compress, missingok, delaycompress, dateext options. I need to compress the delayed log file. Can I do it manually now or should I wait till logrotate does it when it runs. I'm just not sure whether logrotate has…
rATRIJS
  • 141
  • 3
4
votes
2 answers

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; After I ran this I viewed the compression statistics (I…
Nick
  • 301
  • 2
  • 10
4
votes
2 answers

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 Powershell? I am using this code: $dir_source =…
peterk411
  • 178
  • 1
  • 8
4
votes
3 answers

edit text file in zip folder on mac os x

I have a zip folder structure which is read as a plugin from a server system. I need to edit some text files inside these zip folders, but extracting editing packing is tedious and error-prone. Does anyone knows an editor that can open files…
wendy_44
  • 41
  • 1
  • 2
4
votes
5 answers

VMWare Image and Compression

I acquired a VMWare image, but everything in the folder was GZipped, IE Each individual file. Now when I attempt to uncompressed the images in order to put onto an ESX machine I run out of space(They were initially >80Gb compressed to 14Gb). Does…
Nicholas Stuart
4
votes
5 answers

Should I compress old files to save disk space?

What are the pros and cons on compressing old files on a disk? I've read that compressing old files will degrade the performance when accessing the compressed files. I've got gigabytes of old files in my laptop; is it worth the trade-off? I have…
MarlonRibunal
  • 283
  • 1
  • 3
  • 8