{"action":"opened","issue":{"url":"https://api.github.com/repos/plantain-00/blogs/issues/35","repository_url":"https://api.github.com/repos/plantain-00/blogs","labels_url":"https://api.github.com/repos/plantain-00/blogs/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/plantain-00/blogs/issues/35/comments","events_url":"https://api.github.com/repos/plantain-00/blogs/issues/35/events","html_url":"https://github.com/plantain-00/blogs/issues/35","id":167343641,"number":35,"title":"数据备份和恢复策略","user":{"login":"plantain-00","id":7639395,"avatar_url":"https://avatars.githubusercontent.com/u/7639395?v=3","gravatar_id":"","url":"https://api.github.com/users/plantain-00","html_url":"https://github.com/plantain-00","followers_url":"https://api.github.com/users/plantain-00/followers","following_url":"https://api.github.com/users/plantain-00/following{/other_user}","gists_url":"https://api.github.com/users/plantain-00/gists{/gist_id}","starred_url":"https://api.github.com/users/plantain-00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plantain-00/subscriptions","organizations_url":"https://api.github.com/users/plantain-00/orgs","repos_url":"https://api.github.com/users/plantain-00/repos","events_url":"https://api.github.com/users/plantain-00/events{/privacy}","received_events_url":"https://api.github.com/users/plantain-00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-25T11:22:28Z","updated_at":"2016-07-25T11:22:28Z","closed_at":null,"body":"+ 首先应该有这个意识，有自动备份机制，也有恢复脚本\r\n+ 有cron任务来定时生成新备份，例如每隔1小时\r\n+ 有cron任务来定时清理旧备份，例如每隔1个月\r\n+ 备份的文件名中应该带有时间信息\r\n+ 有cron任务来把备份复制到物理机器之外的地方，例如每天\r\n+ 有管理程序，可以监视备份机制是否失效，这种程序一般也会检测API的状态、每个机器的状态、数据库的状态等"}}
{"actor":{"display_login":"plantain-00"}}