<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[静怡家园]]></title> 
<link>http://www.zhanghaijun.com/index.php</link> 
<description><![CDATA[书山有路勤为径，学海无涯苦作舟！]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[静怡家园]]></copyright>
<item>
<link>http://www.zhanghaijun.com/post//</link>
<title><![CDATA[tar 增量备份]]></title> 
<author>碟舞飞扬 &lt;webmaster@zhanghaijun.com&gt;</author>
<category><![CDATA[Linux技术]]></category>
<pubDate>Fri, 06 May 2011 18:42:08 +0000</pubDate> 
<guid>http://www.zhanghaijun.com/post//</guid> 
<description>
<![CDATA[ 
	tar 增量备份 LINUX/FREEBSD 都适用 <br/>1、先进行一个完全备份 tar -cf test.tar test <br/>2、使用u参数进行增量备份 tar -uf test.tar test <br/><br/>另一种方式 只适合LINUX <br/>1、执行完整备份 <br/>tar -g snapshot -zcf backup_full.tar.gz test <br/>2、执行第一次的增量备份 (注意 tarball 档名) <br/>tar -g snapshot -zcf backup_incremental_1.tar.gz test <br/>3、执行第二次的增量备份 (注意 tarball 档名) <br/>tar -g snapshot -zcf backup_incremental_2.tar.gz test <br/><br/>差异性备份 <br/>1、使用FIND 找出差异文件 <br/>&nbsp;&nbsp;&nbsp;&nbsp; 寻找目录&nbsp;&nbsp;&nbsp;&nbsp;&#124;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;不需要寻找的目录&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#124; 查找类型 前24小时&nbsp;&nbsp;打印到文件&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br/>find /maildir/mail -path "*&#92;.Spam*" -prune -o -type f -mtime -1 -print > /tmp/filelist.txt<br/>Tags - <a href="http://www.zhanghaijun.com/tags/tar/" rel="tag">tar</a> , <a href="http://www.zhanghaijun.com/tags/linux/" rel="tag">linux</a>
]]>
</description>
</item><item>
<link>http://www.zhanghaijun.com/post//#blogcomment</link>
<title><![CDATA[[评论] tar 增量备份]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.zhanghaijun.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>