{"action":"created","issue":{"url":"https://api.github.com/repos/flynn/flynn/issues/2055","labels_url":"https://api.github.com/repos/flynn/flynn/issues/2055/labels{/name}","comments_url":"https://api.github.com/repos/flynn/flynn/issues/2055/comments","events_url":"https://api.github.com/repos/flynn/flynn/issues/2055/events","html_url":"https://github.com/flynn/flynn/pull/2055","id":114503294,"number":2055,"title":"Full cluster backup/restore","user":{"login":"titanous","id":13026,"avatar_url":"https://avatars.githubusercontent.com/u/13026?v=3","gravatar_id":"","url":"https://api.github.com/users/titanous","html_url":"https://github.com/titanous","followers_url":"https://api.github.com/users/titanous/followers","following_url":"https://api.github.com/users/titanous/following{/other_user}","gists_url":"https://api.github.com/users/titanous/gists{/gist_id}","starred_url":"https://api.github.com/users/titanous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titanous/subscriptions","organizations_url":"https://api.github.com/users/titanous/orgs","repos_url":"https://api.github.com/users/titanous/repos","events_url":"https://api.github.com/users/titanous/events{/privacy}","received_events_url":"https://api.github.com/users/titanous/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-02T00:16:52Z","updated_at":"2015-11-04T15:46:16Z","closed_at":"2015-11-04T15:42:43Z","pull_request":{"url":"https://api.github.com/repos/flynn/flynn/pulls/2055","html_url":"https://github.com/flynn/flynn/pull/2055","diff_url":"https://github.com/flynn/flynn/pull/2055.diff","patch_url":"https://github.com/flynn/flynn/pull/2055.patch"},"body":"`flynn cluster backup` saves a full-cluster backup to a local tar file. The backup consists of expanded app details for the discoverd, flannel, postgres, and controller apps and a SQL dump of all databases in the postgres cluster.\r\n\r\n`flynn-host bootstrap --from-backup` bootstraps a cluster and restores a backup. First the discoverd, flannel, and postgres apps are started on the cluster, then the SQL is restored along with some extra commands that update the artifact URLs to the latest ones from the bootstrap manifest.\r\n\r\nAfter the data is restored, the controller/scheduler is started and the scheduler handles starting the rest of the Flynn and user apps.\r\n\r\nRefs #1244\r\n\r\n/cc @temujin9\r\n"},"comment":{"url":"https://api.github.com/repos/flynn/flynn/issues/comments/153768656","html_url":"https://github.com/flynn/flynn/pull/2055#issuecomment-153768656","issue_url":"https://api.github.com/repos/flynn/flynn/issues/2055","id":153768656,"user":{"login":"kwando","id":891566,"avatar_url":"https://avatars.githubusercontent.com/u/891566?v=3","gravatar_id":"","url":"https://api.github.com/users/kwando","html_url":"https://github.com/kwando","followers_url":"https://api.github.com/users/kwando/followers","following_url":"https://api.github.com/users/kwando/following{/other_user}","gists_url":"https://api.github.com/users/kwando/gists{/gist_id}","starred_url":"https://api.github.com/users/kwando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwando/subscriptions","organizations_url":"https://api.github.com/users/kwando/orgs","repos_url":"https://api.github.com/users/kwando/repos","events_url":"https://api.github.com/users/kwando/events{/privacy}","received_events_url":"https://api.github.com/users/kwando/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T15:46:16Z","updated_at":"2015-11-04T15:46:16Z","body":"Is the cluster certificate backed up and restored?"}}