GO 语言技术参考手册
19
小结...........................................................................................................................................................637
12.2 网站错误处理
................................................................................................................................. 637
错误处理的目标
.......................................................................................................................................638
如何处理错误...........................................................................................................................................639
如何处理异常...........................................................................................................................................640
小结...........................................................................................................................................................641
12.3 应用部署
..........................................................................................................................................641
daemon
.................................................................................................................................................... 642
Supervisord 管理
....................................................................................................................................646
小结...........................................................................................................................................................646
12.4 备份和恢复......................................................................................................................................646
应用备份...................................................................................................................................................646
rsync 安装................................................................................................................................................ 647
rsync 配置
................................................................................................................................................ 647
MySQL 备份
............................................................................................................................................ 648
MySQL 恢复............................................................................................................................................ 651
redis 备份.................................................................................................................................................651
redis 恢复.................................................................................................................................................651
小结...........................................................................................................................................................652
12.5 小结
..................................................................................................................................................652