{"action":"created","issue":{"url":"https://api.github.com/repos/xuelangZF/ehpc/issues/417","repository_url":"https://api.github.com/repos/xuelangZF/ehpc","labels_url":"https://api.github.com/repos/xuelangZF/ehpc/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/xuelangZF/ehpc/issues/417/comments","events_url":"https://api.github.com/repos/xuelangZF/ehpc/issues/417/events","html_url":"https://github.com/xuelangZF/ehpc/issues/417","id":217437695,"number":417,"title":"服务器数据备份方案","user":{"login":"xuelangZF","id":2769831,"avatar_url":"https://avatars0.githubusercontent.com/u/2769831?v=3","gravatar_id":"","url":"https://api.github.com/users/xuelangZF","html_url":"https://github.com/xuelangZF","followers_url":"https://api.github.com/users/xuelangZF/followers","following_url":"https://api.github.com/users/xuelangZF/following{/other_user}","gists_url":"https://api.github.com/users/xuelangZF/gists{/gist_id}","starred_url":"https://api.github.com/users/xuelangZF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuelangZF/subscriptions","organizations_url":"https://api.github.com/users/xuelangZF/orgs","repos_url":"https://api.github.com/users/xuelangZF/repos","events_url":"https://api.github.com/users/xuelangZF/events{/privacy}","received_events_url":"https://api.github.com/users/xuelangZF/received_events","type":"User","site_admin":false},"labels":[{"id":452049280,"url":"https://api.github.com/repos/xuelangZF/ehpc/labels/needfix","name":"needfix","color":"006b75","default":false}],"state":"open","locked":false,"assignee":{"login":"xuelangZF","id":2769831,"avatar_url":"https://avatars0.githubusercontent.com/u/2769831?v=3","gravatar_id":"","url":"https://api.github.com/users/xuelangZF","html_url":"https://github.com/xuelangZF","followers_url":"https://api.github.com/users/xuelangZF/followers","following_url":"https://api.github.com/users/xuelangZF/following{/other_user}","gists_url":"https://api.github.com/users/xuelangZF/gists{/gist_id}","starred_url":"https://api.github.com/users/xuelangZF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuelangZF/subscriptions","organizations_url":"https://api.github.com/users/xuelangZF/orgs","repos_url":"https://api.github.com/users/xuelangZF/repos","events_url":"https://api.github.com/users/xuelangZF/events{/privacy}","received_events_url":"https://api.github.com/users/xuelangZF/received_events","type":"User","site_admin":false},"assignees":[{"login":"xuelangZF","id":2769831,"avatar_url":"https://avatars0.githubusercontent.com/u/2769831?v=3","gravatar_id":"","url":"https://api.github.com/users/xuelangZF","html_url":"https://github.com/xuelangZF","followers_url":"https://api.github.com/users/xuelangZF/followers","following_url":"https://api.github.com/users/xuelangZF/following{/other_user}","gists_url":"https://api.github.com/users/xuelangZF/gists{/gist_id}","starred_url":"https://api.github.com/users/xuelangZF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuelangZF/subscriptions","organizations_url":"https://api.github.com/users/xuelangZF/orgs","repos_url":"https://api.github.com/users/xuelangZF/repos","events_url":"https://api.github.com/users/xuelangZF/events{/privacy}","received_events_url":"https://api.github.com/users/xuelangZF/received_events","type":"User","site_admin":false},{"login":"Zouzhp3","id":22606175,"avatar_url":"https://avatars1.githubusercontent.com/u/22606175?v=3","gravatar_id":"","url":"https://api.github.com/users/Zouzhp3","html_url":"https://github.com/Zouzhp3","followers_url":"https://api.github.com/users/Zouzhp3/followers","following_url":"https://api.github.com/users/Zouzhp3/following{/other_user}","gists_url":"https://api.github.com/users/Zouzhp3/gists{/gist_id}","starred_url":"https://api.github.com/users/Zouzhp3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zouzhp3/subscriptions","organizations_url":"https://api.github.com/users/Zouzhp3/orgs","repos_url":"https://api.github.com/users/Zouzhp3/repos","events_url":"https://api.github.com/users/Zouzhp3/events{/privacy}","received_events_url":"https://api.github.com/users/Zouzhp3/received_events","type":"User","site_admin":false},{"login":"luozhx","id":22886929,"avatar_url":"https://avatars3.githubusercontent.com/u/22886929?v=3","gravatar_id":"","url":"https://api.github.com/users/luozhx","html_url":"https://github.com/luozhx","followers_url":"https://api.github.com/users/luozhx/followers","following_url":"https://api.github.com/users/luozhx/following{/other_user}","gists_url":"https://api.github.com/users/luozhx/gists{/gist_id}","starred_url":"https://api.github.com/users/luozhx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luozhx/subscriptions","organizations_url":"https://api.github.com/users/luozhx/orgs","repos_url":"https://api.github.com/users/luozhx/repos","events_url":"https://api.github.com/users/luozhx/events{/privacy}","received_events_url":"https://api.github.com/users/luozhx/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2017-03-28T03:26:50Z","updated_at":"2017-05-01T04:53:45Z","closed_at":null,"body":"对线上服务器的文件和数据库进行备份。\r\n\r\n# 文件备份\r\n\r\n[lsyncd](https://github.com/axkibe/lsyncd) 配置简单，能够实现简单高效的本地目录同步备份。\r\n\r\n参考资料：\r\n\r\n[Lsyncd | 使用lsyncd同步文件目录](http://clavinli.github.io/2013/11/12/linux-server-lsyncd/)    \r\n[lsyncd实时同步搭建指南——取代rsync+inotify](http://seanlook.com/2015/05/06/lsyncd-synchronize-realtime/)  \r\n\r\n# 数据库同步\r\n\r\n参考阅读资料：\r\n\r\n[Ubuntu实时备份](https://www.timelog.xyz/tmv/4.html)    \r\n[MySQL数据库复制、镜像、实时备份](http://www.huangzhong.ca/zh/mysql-database-replication-mirroring-real-time/#comments)  "},"comment":{"url":"https://api.github.com/repos/xuelangZF/ehpc/issues/comments/298285973","html_url":"https://github.com/xuelangZF/ehpc/issues/417#issuecomment-298285973","issue_url":"https://api.github.com/repos/xuelangZF/ehpc/issues/417","id":298285973,"user":{"login":"Zouzhp3","id":22606175,"avatar_url":"https://avatars1.githubusercontent.com/u/22606175?v=3","gravatar_id":"","url":"https://api.github.com/users/Zouzhp3","html_url":"https://github.com/Zouzhp3","followers_url":"https://api.github.com/users/Zouzhp3/followers","following_url":"https://api.github.com/users/Zouzhp3/following{/other_user}","gists_url":"https://api.github.com/users/Zouzhp3/gists{/gist_id}","starred_url":"https://api.github.com/users/Zouzhp3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zouzhp3/subscriptions","organizations_url":"https://api.github.com/users/Zouzhp3/orgs","repos_url":"https://api.github.com/users/Zouzhp3/repos","events_url":"https://api.github.com/users/Zouzhp3/events{/privacy}","received_events_url":"https://api.github.com/users/Zouzhp3/received_events","type":"User","site_admin":false},"created_at":"2017-05-01T04:53:45Z","updated_at":"2017-05-01T04:53:45Z","body":"已经在服务器上 /home/zhao/backup 目录中使用 lsyncd 完成 static 目录的备份"}}
{"actor":{"display_login":"Zouzhp3"}}