我正在运行一个Ubuntu Web服务器。 我有一个备份脚本工作,将转储mysql和svn和备份这两个文件在/ var / www文件夹中,并将其存储在S3上。 还有什么应该备份?
目前,我正在运行以下内容:
最终我可能会玩其他的东西。
确定需要备份的最佳方法是逐步解决服务器硬盘不再启动的情况。
您需要哪些数据才能尽快上线?
这是我使用的一个基本模板(适用于* BSD):
文件:
/etc/ssh /var/log /var/cron /etc/ipfw.rules (ip tables in your case) /etc/syslog.conf /etc/motd /etc/ssh/banner /etc/shells /etc/profile /etc/login.conf /etc/group /etc/hosts /etc/passwd /etc/sysctl.conf /etc/resolv.conf /etc/rc.conf /etc/rc.local /etc/crontab /etc/master.passw
DIRS:
/var/cron
如果您正在运行其他服务; 你也应该备份这些configuration。
对于每项服务,您需要备份:
阿帕奇:
MySQL的:
颠覆: