0
votes
1answer
279 views

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 ...
-2
votes
1answer
141 views

Resume a tar command that was stopped

I am trying to tar a huge directory (with about 600GB) and sometimes my SSH conection drops and I need to execute the tar code again and my linux overwites the previous file beginning all the tar ...
1
vote
2answers
369 views

Apache 2.2 serving .html.gz content

How can I get Apache 2.2 on Centos to serve static .html.gz files from local disk to browsers, without them being prompted to download the file (ie - I want it rendered normally in the browser)?
0
votes
3answers
2k views

Attempted gzip of directory applied gzip to each file individually

I tried to gzip a directory with the following command: gzip -r /home/path/to/backups/mydirectory.gz /home/site/public_html/ I was expecting to see a .gz file show up inside ...backups containing ...
2
votes
2answers
2k views

Use mod_deflate or gzip for centos5+apache

I'd like to compress the JS and CSS (perhaps also html?) files that I'm sending out. I've read a lot about gzip and mod_deflate but I'm not really sure what's the best to use? I'm looking for the ...
3
votes
5answers
1k views

`outputscript | gzip > $file` not overwriting $file

I have an hourly cron script which take some output (a mysql dump), pipes it through gzip, and aims to overwrite a file of the same name. When I run it manually as root the file is overwritten. When ...