我正在运行一个Ubuntu web服务器。我有一个备份脚本,可以转储mysql和svn,并备份/var/www文件夹中的文件,并将它们存储在S3上。还应该备份什么?
目前,我正在运行以下操作:
最后,我可能会玩其他的东西。
发布于 2011-06-21 14:49:36
确定需要备份什么的最佳方法是遍历服务器的硬盘驱动器不再启动的场景。
您需要哪些数据才能尽快将其联机?
这是我使用的基本模板(为*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.passwDirs:
/var/cron如果您正在运行其他服务,您也应该备份这些配置。
发布于 2011-06-21 19:23:38
对于每个服务,您需要备份:
https://serverfault.com/questions/282610
复制相似问题