Re: Dump + GZIP
- From: John Nielsen <lists@xxxxxxxxxxxx>
- Date: Thu, 16 Aug 2007 09:10:12 -0400
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"
- Follow-Ups:
- Re: Dump + GZIP
- From: Roland Smith
- Re: Dump + GZIP
- From: Federico Lorenzi
- Re: Dump + GZIP
- References:
- Dump + GZIP
- From: Grant Peel
- Dump + GZIP
- Prev by Date: Dump + GZIP
- Next by Date: Re: Dump + GZIP
- Previous by thread: Dump + GZIP
- Next by thread: Re: Dump + GZIP
- Index(es):
Relevant Pages
|
|