{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/pulls/1","id":81348421,"html_url":"https://github.com/helmarluiz/backup-postgresql-dropbox/pull/1","diff_url":"https://github.com/helmarluiz/backup-postgresql-dropbox/pull/1.diff","patch_url":"https://github.com/helmarluiz/backup-postgresql-dropbox/pull/1.patch","issue_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/issues/1","number":1,"state":"closed","locked":false,"title":"Update database_bkp_dropbox.sh","user":{"login":"eduardovismara","id":9244591,"avatar_url":"https://avatars.githubusercontent.com/u/9244591?v=3","gravatar_id":"","url":"https://api.github.com/users/eduardovismara","html_url":"https://github.com/eduardovismara","followers_url":"https://api.github.com/users/eduardovismara/followers","following_url":"https://api.github.com/users/eduardovismara/following{/other_user}","gists_url":"https://api.github.com/users/eduardovismara/gists{/gist_id}","starred_url":"https://api.github.com/users/eduardovismara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduardovismara/subscriptions","organizations_url":"https://api.github.com/users/eduardovismara/orgs","repos_url":"https://api.github.com/users/eduardovismara/repos","events_url":"https://api.github.com/users/eduardovismara/events{/privacy}","received_events_url":"https://api.github.com/users/eduardovismara/received_events","type":"User","site_admin":false},"body":"Creio que o correto onde está a variável \"${DIR_BKP}\" deve ser ${LOCAL_BKP_DIR} e também seria necessário a verificação do diretório onde será salvo os arquivos que será feito o upload\r\nif [ ! -d ${DROPBOX_BKP_DIR} ]; then\r\n  mkdir -p ${DROPBOX_BKP_DIR}\r\nfi","created_at":"2016-08-15T17:55:04Z","updated_at":"2016-08-15T20:38:13Z","closed_at":"2016-08-15T20:38:13Z","merged_at":"2016-08-15T20:38:13Z","merge_commit_sha":"a7bec3f7675760b855a577dcc47531e5ec1309ef","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/pulls/1/commits","review_comments_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/pulls/1/comments","review_comment_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/issues/1/comments","statuses_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/statuses/f90218dcc2db0933c3d29df4289a104ea0b8941d","head":{"label":"eduardovismara:master","ref":"master","sha":"f90218dcc2db0933c3d29df4289a104ea0b8941d","user":{"login":"eduardovismara","id":9244591,"avatar_url":"https://avatars.githubusercontent.com/u/9244591?v=3","gravatar_id":"","url":"https://api.github.com/users/eduardovismara","html_url":"https://github.com/eduardovismara","followers_url":"https://api.github.com/users/eduardovismara/followers","following_url":"https://api.github.com/users/eduardovismara/following{/other_user}","gists_url":"https://api.github.com/users/eduardovismara/gists{/gist_id}","starred_url":"https://api.github.com/users/eduardovismara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduardovismara/subscriptions","organizations_url":"https://api.github.com/users/eduardovismara/orgs","repos_url":"https://api.github.com/users/eduardovismara/repos","events_url":"https://api.github.com/users/eduardovismara/events{/privacy}","received_events_url":"https://api.github.com/users/eduardovismara/received_events","type":"User","site_admin":false},"repo":{"id":65751990,"name":"backup-postgresql-dropbox","full_name":"eduardovismara/backup-postgresql-dropbox","owner":{"login":"eduardovismara","id":9244591,"avatar_url":"https://avatars.githubusercontent.com/u/9244591?v=3","gravatar_id":"","url":"https://api.github.com/users/eduardovismara","html_url":"https://github.com/eduardovismara","followers_url":"https://api.github.com/users/eduardovismara/followers","following_url":"https://api.github.com/users/eduardovismara/following{/other_user}","gists_url":"https://api.github.com/users/eduardovismara/gists{/gist_id}","starred_url":"https://api.github.com/users/eduardovismara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduardovismara/subscriptions","organizations_url":"https://api.github.com/users/eduardovismara/orgs","repos_url":"https://api.github.com/users/eduardovismara/repos","events_url":"https://api.github.com/users/eduardovismara/events{/privacy}","received_events_url":"https://api.github.com/users/eduardovismara/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eduardovismara/backup-postgresql-dropbox","description":null,"fork":true,"url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox","forks_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/forks","keys_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/teams","hooks_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/hooks","issue_events_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/issues/events{/number}","events_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/events","assignees_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/assignees{/user}","branches_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/branches{/branch}","tags_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/tags","blobs_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/statuses/{sha}","languages_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/languages","stargazers_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/stargazers","contributors_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/contributors","subscribers_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/subscribers","subscription_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/subscription","commits_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/contents/{+path}","compare_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/merges","archive_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/downloads","issues_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/issues{/number}","pulls_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/pulls{/number}","milestones_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/milestones{/number}","notifications_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/labels{/name}","releases_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/releases{/id}","deployments_url":"https://api.github.com/repos/eduardovismara/backup-postgresql-dropbox/deployments","created_at":"2016-08-15T17:42:04Z","updated_at":"2016-08-15T17:42:05Z","pushed_at":"2016-08-15T17:52:19Z","git_url":"git://github.com/eduardovismara/backup-postgresql-dropbox.git","ssh_url":"git@github.com:eduardovismara/backup-postgresql-dropbox.git","clone_url":"https://github.com/eduardovismara/backup-postgresql-dropbox.git","svn_url":"https://github.com/eduardovismara/backup-postgresql-dropbox","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"helmarluiz:master","ref":"master","sha":"41aaf4c0f7926e87adb79a2df7c8ef96ffa4ac73","user":{"login":"helmarluiz","id":1253392,"avatar_url":"https://avatars.githubusercontent.com/u/1253392?v=3","gravatar_id":"","url":"https://api.github.com/users/helmarluiz","html_url":"https://github.com/helmarluiz","followers_url":"https://api.github.com/users/helmarluiz/followers","following_url":"https://api.github.com/users/helmarluiz/following{/other_user}","gists_url":"https://api.github.com/users/helmarluiz/gists{/gist_id}","starred_url":"https://api.github.com/users/helmarluiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helmarluiz/subscriptions","organizations_url":"https://api.github.com/users/helmarluiz/orgs","repos_url":"https://api.github.com/users/helmarluiz/repos","events_url":"https://api.github.com/users/helmarluiz/events{/privacy}","received_events_url":"https://api.github.com/users/helmarluiz/received_events","type":"User","site_admin":false},"repo":{"id":65652087,"name":"backup-postgresql-dropbox","full_name":"helmarluiz/backup-postgresql-dropbox","owner":{"login":"helmarluiz","id":1253392,"avatar_url":"https://avatars.githubusercontent.com/u/1253392?v=3","gravatar_id":"","url":"https://api.github.com/users/helmarluiz","html_url":"https://github.com/helmarluiz","followers_url":"https://api.github.com/users/helmarluiz/followers","following_url":"https://api.github.com/users/helmarluiz/following{/other_user}","gists_url":"https://api.github.com/users/helmarluiz/gists{/gist_id}","starred_url":"https://api.github.com/users/helmarluiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helmarluiz/subscriptions","organizations_url":"https://api.github.com/users/helmarluiz/orgs","repos_url":"https://api.github.com/users/helmarluiz/repos","events_url":"https://api.github.com/users/helmarluiz/events{/privacy}","received_events_url":"https://api.github.com/users/helmarluiz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/helmarluiz/backup-postgresql-dropbox","description":null,"fork":false,"url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox","forks_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/forks","keys_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/teams","hooks_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/hooks","issue_events_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/issues/events{/number}","events_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/events","assignees_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/assignees{/user}","branches_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/branches{/branch}","tags_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/tags","blobs_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/statuses/{sha}","languages_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/languages","stargazers_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/stargazers","contributors_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/contributors","subscribers_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/subscribers","subscription_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/subscription","commits_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/contents/{+path}","compare_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/merges","archive_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/downloads","issues_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/issues{/number}","pulls_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/pulls{/number}","milestones_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/milestones{/number}","notifications_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/labels{/name}","releases_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/releases{/id}","deployments_url":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/deployments","created_at":"2016-08-14T05:47:48Z","updated_at":"2016-08-14T05:58:35Z","pushed_at":"2016-08-15T20:38:13Z","git_url":"git://github.com/helmarluiz/backup-postgresql-dropbox.git","ssh_url":"git@github.com:helmarluiz/backup-postgresql-dropbox.git","clone_url":"https://github.com/helmarluiz/backup-postgresql-dropbox.git","svn_url":"https://github.com/helmarluiz/backup-postgresql-dropbox","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/pulls/1"},"html":{"href":"https://github.com/helmarluiz/backup-postgresql-dropbox/pull/1"},"issue":{"href":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/issues/1"},"comments":{"href":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/helmarluiz/backup-postgresql-dropbox/statuses/f90218dcc2db0933c3d29df4289a104ea0b8941d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"helmarluiz","id":1253392,"avatar_url":"https://avatars.githubusercontent.com/u/1253392?v=3","gravatar_id":"","url":"https://api.github.com/users/helmarluiz","html_url":"https://github.com/helmarluiz","followers_url":"https://api.github.com/users/helmarluiz/followers","following_url":"https://api.github.com/users/helmarluiz/following{/other_user}","gists_url":"https://api.github.com/users/helmarluiz/gists{/gist_id}","starred_url":"https://api.github.com/users/helmarluiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helmarluiz/subscriptions","organizations_url":"https://api.github.com/users/helmarluiz/orgs","repos_url":"https://api.github.com/users/helmarluiz/repos","events_url":"https://api.github.com/users/helmarluiz/events{/privacy}","received_events_url":"https://api.github.com/users/helmarluiz/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"helmarluiz"}}