{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/4931","repository_url":"https://api.github.com/repos/alphagov/govuk-puppet","labels_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/4931/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/4931/comments","events_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/4931/events","html_url":"https://github.com/alphagov/govuk-puppet/pull/4931","id":180867194,"number":4931,"title":"Add PostgreSQL WAL-E restore script","user":{"login":"surminus","id":5610276,"avatar_url":"https://avatars.githubusercontent.com/u/5610276?v=3","gravatar_id":"","url":"https://api.github.com/users/surminus","html_url":"https://github.com/surminus","followers_url":"https://api.github.com/users/surminus/followers","following_url":"https://api.github.com/users/surminus/following{/other_user}","gists_url":"https://api.github.com/users/surminus/gists{/gist_id}","starred_url":"https://api.github.com/users/surminus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surminus/subscriptions","organizations_url":"https://api.github.com/users/surminus/orgs","repos_url":"https://api.github.com/users/surminus/repos","events_url":"https://api.github.com/users/surminus/events{/privacy}","received_events_url":"https://api.github.com/users/surminus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-04T11:24:15Z","updated_at":"2016-10-04T12:35:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4931","html_url":"https://github.com/alphagov/govuk-puppet/pull/4931","diff_url":"https://github.com/alphagov/govuk-puppet/pull/4931.diff","patch_url":"https://github.com/alphagov/govuk-puppet/pull/4931.patch"},"body":"While writing documentation it occurred to me that we did not have a basic restore script for restores from the same environment. This commit adds the script. The script is essentially the same as the env_sync script which has been successfully tested, except that it does not contain any Production key passphrases or references to a different envdir directory than the one that should already be present on the machine that sends backups to S3. \r\n\r\nIt also removes the env_sync details added to Integration that was used for testing restores from Production. We are currently not using this method so it should be removed until we decide to use it."},"comment":{"url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/comments/251375213","html_url":"https://github.com/alphagov/govuk-puppet/pull/4931#issuecomment-251375213","issue_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/4931","id":251375213,"user":{"login":"surminus","id":5610276,"avatar_url":"https://avatars.githubusercontent.com/u/5610276?v=3","gravatar_id":"","url":"https://api.github.com/users/surminus","html_url":"https://github.com/surminus","followers_url":"https://api.github.com/users/surminus/followers","following_url":"https://api.github.com/users/surminus/following{/other_user}","gists_url":"https://api.github.com/users/surminus/gists{/gist_id}","starred_url":"https://api.github.com/users/surminus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/surminus/subscriptions","organizations_url":"https://api.github.com/users/surminus/orgs","repos_url":"https://api.github.com/users/surminus/repos","events_url":"https://api.github.com/users/surminus/events{/privacy}","received_events_url":"https://api.github.com/users/surminus/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T12:35:18Z","updated_at":"2016-10-04T12:35:18Z","body":"Thanks @deanwilson, please hit the approve button!"}}
{"actor":{"display_login":"surminus"}}