{"action":"created","issue":{"url":"https://api.github.com/repos/mail-in-a-box/mailinabox/issues/678","repository_url":"https://api.github.com/repos/mail-in-a-box/mailinabox","labels_url":"https://api.github.com/repos/mail-in-a-box/mailinabox/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/mail-in-a-box/mailinabox/issues/678/comments","events_url":"https://api.github.com/repos/mail-in-a-box/mailinabox/issues/678/events","html_url":"https://github.com/mail-in-a-box/mailinabox/pull/678","id":126735900,"number":678,"title":"Support for rsync+ssh backup target","user":{"login":"guyzmo","id":254441,"avatar_url":"https://avatars.githubusercontent.com/u/254441?v=3","gravatar_id":"","url":"https://api.github.com/users/guyzmo","html_url":"https://github.com/guyzmo","followers_url":"https://api.github.com/users/guyzmo/followers","following_url":"https://api.github.com/users/guyzmo/following{/other_user}","gists_url":"https://api.github.com/users/guyzmo/gists{/gist_id}","starred_url":"https://api.github.com/users/guyzmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyzmo/subscriptions","organizations_url":"https://api.github.com/users/guyzmo/orgs","repos_url":"https://api.github.com/users/guyzmo/repos","events_url":"https://api.github.com/users/guyzmo/events{/privacy}","received_events_url":"https://api.github.com/users/guyzmo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-01-14T19:58:21Z","updated_at":"2016-07-05T21:24:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mail-in-a-box/mailinabox/pulls/678","html_url":"https://github.com/mail-in-a-box/mailinabox/pull/678","diff_url":"https://github.com/mail-in-a-box/mailinabox/pull/678.diff","patch_url":"https://github.com/mail-in-a-box/mailinabox/pull/678.patch"},"body":"fixes #676\r\n\r\nI tried to keep changes minimal, so what changed:\r\n\r\n* Web interface to offer \"rsync\" as an option, and the ability to setup `server`, `path` and `user`, with a note on where to find `id_rsa.pub`.\r\n  * *I think it could be a good idea to read the public key data, and make it available for copy/paste ;*\r\n  * There's extra fat to build/break the `rsync://user@domain//path` into/from fields\r\n*  Command to list files on the remote server, for the list_target_files function (and the extra fat to parse the output) ;\r\n* Added an installation time creation of the SSH key, so we're sure it's available\r\n\r\nI did not include a password setup intentionally, because passwords are weak, and that would have meant more work to correctly input the password to rsync through duplicity.\r\n\r\nas a bonus, I also included a typo fix and a few trailing spaces removal."},"comment":{"url":"https://api.github.com/repos/mail-in-a-box/mailinabox/issues/comments/230607515","html_url":"https://github.com/mail-in-a-box/mailinabox/pull/678#issuecomment-230607515","issue_url":"https://api.github.com/repos/mail-in-a-box/mailinabox/issues/678","id":230607515,"user":{"login":"guyzmo","id":254441,"avatar_url":"https://avatars.githubusercontent.com/u/254441?v=3","gravatar_id":"","url":"https://api.github.com/users/guyzmo","html_url":"https://github.com/guyzmo","followers_url":"https://api.github.com/users/guyzmo/followers","following_url":"https://api.github.com/users/guyzmo/following{/other_user}","gists_url":"https://api.github.com/users/guyzmo/gists{/gist_id}","starred_url":"https://api.github.com/users/guyzmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyzmo/subscriptions","organizations_url":"https://api.github.com/users/guyzmo/orgs","repos_url":"https://api.github.com/users/guyzmo/repos","events_url":"https://api.github.com/users/guyzmo/events{/privacy}","received_events_url":"https://api.github.com/users/guyzmo/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T21:24:12Z","updated_at":"2016-07-05T21:24:12Z","body":"so, is there anything that prevents this PR from being merged? I have been running it for months, and it works fine, and it'd be nice to avoid having to rebase my prod server's git to keep this feature working."}}
{"actor":{"display_login":"guyzmo"}}