⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 node99.html

📁 linux管理操作指南!大家看看就知道!很不错的!无解压密码!
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>Compressed backups</TITLE>
<META NAME="description" CONTENT="Compressed backups">
<META NAME="keywords" CONTENT="sag">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="sag.css" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/sag.css">
</HEAD>
<BODY LANG="EN" >
 <A NAME="tex2html1540" HREF="node100.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node100.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="next_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/next_motif.gif"></A> <A NAME="tex2html1538" HREF="node90.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node90.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="up_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/up_motif.gif"></A> <A NAME="tex2html1534" HREF="node98.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node98.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/previous_motif.gif"></A> <A NAME="tex2html1542" HREF="node1.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/contents_motif.gif"></A> <A NAME="tex2html1543" HREF="node108.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node108.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="index_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html1541" HREF="node100.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node100.html">Keeping Time</A>
<B>Up:</B> <A NAME="tex2html1539" HREF="node90.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node90.html">Backups</A>
<B> Previous:</B> <A NAME="tex2html1535" HREF="node98.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node98.html">What to back up</A>
<BR> <P>
<H1><A NAME="SECTION001070000000000000000">压缩备份</A></H1>
<P>
备份占用大量空间,要花费大量金钱。
为了降低空间需求,备份可以压缩。有几种方法。
有些程序内置支持压缩。例如GNU <tt>tar</tt><A NAME="2744">&#160;</A>的<tt>-gzip</tt> (<tt>-z</tt>)选项,通过管道(pipe),
在写到备份介质前,先用	<tt>gzip</tt><A NAME="2746">&#160;</A>压缩程序压缩。
<P>
不幸的是,压缩备份可能导致问题。由于压缩工作的原理,如果一个bit错误,可能导致所有其他压缩数据不可用。
有些备份程序内置错误校正,但没有办法处理大量的错误。就是说,如果用GNU <tt>tar</tt><A NAME="2748">&#160;</A>压缩备份,
一个单独的错误回导致整个备份丢失。备份必须可靠,这样的压缩方法不好。
<P>
还有一个方法是单独压缩每个文件,这也回导致一个文件的丢失,但不会影响其他文件。丢失的文件可能已经因为什么原因损坏,因此
这种情况比不使用压缩差不了多少。
<tt>afio</tt><A NAME="2750">&#160;</A>程序(<tt>cpio</tt><A NAME="2752">&#160;</A>的一个变种)可以这样。
<P>
压缩需要时间,which may make the backup program unable to write data fast enough for a tape drive.
<A NAME="tex2html44" HREF="footnode.html#2661" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/footnode.html#2661"><IMG  ALIGN=BOTTOM ALT="gif" SRC="foot_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/foot_motif.gif"></A>
这可以靠输出缓冲来避免(如果备份程序足够智能,可以内置,否则可以通过其他程序),
but even that might not work well enough.
这只会在慢的计算机上是个问题。
<P>
<BR> <HR>
<P><ADDRESS>
<I>Lars Wirzenius <BR>
Sun Jun 29 13:31:22 EEST 1997</I>
</ADDRESS>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -