Re: Dump + GZIP



On Thursday 16 August 2007, Grant Peel wrote:
Can I safely pump a filesystem dump through gzip during the dumping
process?, or di I need to create the dump first then gzip it after?

I do it all the time: dump -f - ... | gzip > date_filesystem.dump.gz
or with bzip2: dump -f - ... | bzip2 > date_filesystem.dump.bz2

Does zipping the dumps cause any headaches at restore time?

Nope: bzcat date_filesystem.dump.bz2 | restore ... -f -

(I currently dump 5 servers worth of data to a raid 5 array, and am about
20% away from running out of disk space).

Does gzipping a file give a decent compression ratio?

Depends on what you're compressing, but generally yes. bzip2 generally
compresses better but takes a lot more time, CPU and memory at compression
time.

JN
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • correction (Re: RFC, an ugly parser hack (and a bin-xml variant))
    ... > it is, well, signifigantly faster than my textual parser, largely because ... or maybe exceed that of gzip. ... and then rebuild the trees, which is faster than a pure-adaptive variant, ... but typically helps compression). ...
    (comp.text.xml)
  • Re: Zbip2 Size limitatations ?
    ... I have a big forder wich is 11 Go without any compression. ... With gzip it take 4.8Go, and i have to take another dvd or Cd to burn it... ... >>I do my backup like this for several folders. ... > Cheers, Gene ...
    (Fedora)
  • RE: gzip compression for compact framework
    ... GzIp header and for the GetwebResponse methods i decompress it. ... I have implemented compression in my desktop application but cannot do it ... GetWebRequest and GetwebResponse did not exist before the SP3 and so had ...
    (microsoft.public.windowsce.app.development)
  • Re: gzip compression for compact framework
    ... i overridden the webservice's GetWebRequest method and add the ... GzIp header and for the GetwebResponse methods i decompress it. ... I have implemented compression in my desktop application but cannot do it ... install SP3 but even after this, VS2003 is not able to handle overriding ...
    (microsoft.public.windowsce.app.development)
  • Re: Archive Zip
    ... Derek B. Smith wrote: ... Compression algorithms can't ... try collecting the files with another archiving tool, ... The files attributes prior to using gzip were: ...
    (perl.beginners)