星期日, 4月 24, 2005

Linux Server Backup

因為終於排出時間更新主機,才發現一個老是擱下的工作:讓系統自動備份;
於事先進行第一步驟:確認需要備份的設定檔。

1. 基本設定檔
/etc/sysconfig/network
/etc/resolv.conf
/etc/hosts
/etc/sysconfig/network-scripts/route-eth1

2. DNS 相關設定檔
/etc/named.conf
/var/named/ 所有檔案...

3. Postfix 郵件主機設定檔
/etc/postfix/main.cf
/etc/postfix/aliases
/etc/mail/spamassassin/local.cf
/etc/procmailrc

4. 防火牆設定檔 iptables
/usr/local/virus/iptables/iptables.rule
/usr/local/virus/iptables/iptables.allow
/usr/local/virus/iptables/iptables.deny

5. ClamAV 的設定檔(有計畫改用其他的防毒程式)
/etc/freshclam.conf
/etc/clamav.conf

6. Apache Web Server 設定檔
/etc/httpd/conf/httpd.conf

7. Yum 線上更新的設定檔
/etc/yum.conf

目前印象中大概安裝就這些基本的(不含後續安裝個別的網站程式);
這台主機好像沒有使用 Samba Server,
例行備份的東西通常應該包含了 Samba 才對;

後續:
1. 上面這些設定資料,如何定時、自動備份到遠端主機上(透過網路),以及在本地硬碟中各一份。
2. 是不是還有其他需要備份的?
3. 更新(更改)的組件或程式?

沒有留言: