### [筆記] pdumpfs 的一些參數用法

2013-08-07 工作筆記

原文參考自：

http://freebsd.1045724.n5.nabble.com/ports-179611-running-sysutils-pdumpfs-fails-with-ruby19-td5820350.html 在/etc/crontab增加一行: > * 18 * * * root pdumpfs /home /home1 超過30M的文件不備份 > pdumpfs –exclude-by-size 30M /home /home1 排除 .CAB,.cab,.exe: > pdumpfs –exclude-by-glob “.CAB” –exclude-by-glob “.cab” –exclude-by-glob “.exe” –exclude-by-size 30M /home /home1 自動備份，並將結果mail出去 > 00 23 * * * root pdumpfs –exclude-by-glob “.CAB” –exclude-by-glob “.cab” –exclude-by-glob “.exe” –exclude-by-glob “.EXE” –exclude-by-glob “.zip” –exclude-by-glob “.ZIP” –exclude-by-size 30M -q -l /tmp/bak.log /home /home1;sendmail shiwei@cfido.com </tmp/bak.log

comments powered by Disqus
© 2017 by Lednerb
Bilberry Hugo Theme