{"action":"created","issue":{"url":"https://api.github.com/repos/bloomberg/chef-bcpc/issues/794","labels_url":"https://api.github.com/repos/bloomberg/chef-bcpc/issues/794/labels{/name}","comments_url":"https://api.github.com/repos/bloomberg/chef-bcpc/issues/794/comments","events_url":"https://api.github.com/repos/bloomberg/chef-bcpc/issues/794/events","html_url":"https://github.com/bloomberg/chef-bcpc/pull/794","id":103054948,"number":794,"title":"Configure cluster for scheduled MySQL/data bag backups on bootstrap node","user":{"login":"erhudy","id":1065271,"avatar_url":"https://avatars.githubusercontent.com/u/1065271?v=3","gravatar_id":"","url":"https://api.github.com/users/erhudy","html_url":"https://github.com/erhudy","followers_url":"https://api.github.com/users/erhudy/followers","following_url":"https://api.github.com/users/erhudy/following{/other_user}","gists_url":"https://api.github.com/users/erhudy/gists{/gist_id}","starred_url":"https://api.github.com/users/erhudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erhudy/subscriptions","organizations_url":"https://api.github.com/users/erhudy/orgs","repos_url":"https://api.github.com/users/erhudy/repos","events_url":"https://api.github.com/users/erhudy/events{/privacy}","received_events_url":"https://api.github.com/users/erhudy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bloomberg/chef-bcpc/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-25T15:49:31Z","updated_at":"2015-09-11T18:37:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bloomberg/chef-bcpc/pulls/794","html_url":"https://github.com/bloomberg/chef-bcpc/pull/794","diff_url":"https://github.com/bloomberg/chef-bcpc/pull/794.diff","patch_url":"https://github.com/bloomberg/chef-bcpc/pull/794.patch"},"body":"This is a first hack at configuring scheduled backups of the MySQL cluster and Chef data bag to `/var/backups/bcpc` on the bootstrap node. The amount of space take is quite minimal; about 10-15 MB per backup per day, so given the configured retention periods, you shouldn't lose any more than about 400 MB of space on the bootstrap node.\r\n\r\nThis PR does not deal with shipping backups off-cluster."},"comment":{"url":"https://api.github.com/repos/bloomberg/chef-bcpc/issues/comments/139622657","html_url":"https://github.com/bloomberg/chef-bcpc/pull/794#issuecomment-139622657","issue_url":"https://api.github.com/repos/bloomberg/chef-bcpc/issues/794","id":139622657,"user":{"login":"erhudy","id":1065271,"avatar_url":"https://avatars.githubusercontent.com/u/1065271?v=3","gravatar_id":"","url":"https://api.github.com/users/erhudy","html_url":"https://github.com/erhudy","followers_url":"https://api.github.com/users/erhudy/followers","following_url":"https://api.github.com/users/erhudy/following{/other_user}","gists_url":"https://api.github.com/users/erhudy/gists{/gist_id}","starred_url":"https://api.github.com/users/erhudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erhudy/subscriptions","organizations_url":"https://api.github.com/users/erhudy/orgs","repos_url":"https://api.github.com/users/erhudy/repos","events_url":"https://api.github.com/users/erhudy/events{/privacy}","received_events_url":"https://api.github.com/users/erhudy/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T18:37:19Z","updated_at":"2015-09-11T18:37:19Z","body":"After a little monkeying about with the script, I have added backup of the monitoring databases as well if at least one monitoring node is present in the cluster. I've tested that it works as expected with a full 6-node cluster build; building now to test that everything also works without errors if building locally without monitoring nodes."}}