{"action":"opened","number":28,"pull_request":{"url":"https://api.github.com/repos/psudug/nittany-vagrant/pulls/28","id":32896688,"html_url":"https://github.com/psudug/nittany-vagrant/pull/28","diff_url":"https://github.com/psudug/nittany-vagrant/pull/28.diff","patch_url":"https://github.com/psudug/nittany-vagrant/pull/28.patch","issue_url":"https://api.github.com/repos/psudug/nittany-vagrant/issues/28","number":28,"state":"open","locked":false,"title":"Drush backup script. Proposed solution to #12","user":{"login":"jpat14","id":6773180,"avatar_url":"https://avatars.githubusercontent.com/u/6773180?v=3","gravatar_id":"","url":"https://api.github.com/users/jpat14","html_url":"https://github.com/jpat14","followers_url":"https://api.github.com/users/jpat14/followers","following_url":"https://api.github.com/users/jpat14/following{/other_user}","gists_url":"https://api.github.com/users/jpat14/gists{/gist_id}","starred_url":"https://api.github.com/users/jpat14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpat14/subscriptions","organizations_url":"https://api.github.com/users/jpat14/orgs","repos_url":"https://api.github.com/users/jpat14/repos","events_url":"https://api.github.com/users/jpat14/events{/privacy}","received_events_url":"https://api.github.com/users/jpat14/received_events","type":"User","site_admin":false},"body":"Instead of having the script edit the crontab, I decided a better method would be having the ability to call the backup script from cron. You can pass it a directory to backup to, or it defaults to /vagrant/backups.\r\n\r\nFormat for the cron entry (for a backup at 2am each morning):\r\n0 2 * * * /path/to/script/drush-backup.sh /optional/backup_dir/parameter","created_at":"2015-04-08T20:07:16Z","updated_at":"2015-04-08T20:07:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/psudug/nittany-vagrant/pulls/28/commits","review_comments_url":"https://api.github.com/repos/psudug/nittany-vagrant/pulls/28/comments","review_comment_url":"https://api.github.com/repos/psudug/nittany-vagrant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/psudug/nittany-vagrant/issues/28/comments","statuses_url":"https://api.github.com/repos/psudug/nittany-vagrant/statuses/37666c9249ec613d59255052aef52045920e28ee","head":{"label":"psudug:issue-12","ref":"issue-12","sha":"37666c9249ec613d59255052aef52045920e28ee","user":{"login":"psudug","id":11136272,"avatar_url":"https://avatars.githubusercontent.com/u/11136272?v=3","gravatar_id":"","url":"https://api.github.com/users/psudug","html_url":"https://github.com/psudug","followers_url":"https://api.github.com/users/psudug/followers","following_url":"https://api.github.com/users/psudug/following{/other_user}","gists_url":"https://api.github.com/users/psudug/gists{/gist_id}","starred_url":"https://api.github.com/users/psudug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psudug/subscriptions","organizations_url":"https://api.github.com/users/psudug/orgs","repos_url":"https://api.github.com/users/psudug/repos","events_url":"https://api.github.com/users/psudug/events{/privacy}","received_events_url":"https://api.github.com/users/psudug/received_events","type":"Organization","site_admin":false},"repo":{"id":32020845,"name":"nittany-vagrant","full_name":"psudug/nittany-vagrant","owner":{"login":"psudug","id":11136272,"avatar_url":"https://avatars.githubusercontent.com/u/11136272?v=3","gravatar_id":"","url":"https://api.github.com/users/psudug","html_url":"https://github.com/psudug","followers_url":"https://api.github.com/users/psudug/followers","following_url":"https://api.github.com/users/psudug/following{/other_user}","gists_url":"https://api.github.com/users/psudug/gists{/gist_id}","starred_url":"https://api.github.com/users/psudug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psudug/subscriptions","organizations_url":"https://api.github.com/users/psudug/orgs","repos_url":"https://api.github.com/users/psudug/repos","events_url":"https://api.github.com/users/psudug/events{/privacy}","received_events_url":"https://api.github.com/users/psudug/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/psudug/nittany-vagrant","description":"","fork":false,"url":"https://api.github.com/repos/psudug/nittany-vagrant","forks_url":"https://api.github.com/repos/psudug/nittany-vagrant/forks","keys_url":"https://api.github.com/repos/psudug/nittany-vagrant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psudug/nittany-vagrant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psudug/nittany-vagrant/teams","hooks_url":"https://api.github.com/repos/psudug/nittany-vagrant/hooks","issue_events_url":"https://api.github.com/repos/psudug/nittany-vagrant/issues/events{/number}","events_url":"https://api.github.com/repos/psudug/nittany-vagrant/events","assignees_url":"https://api.github.com/repos/psudug/nittany-vagrant/assignees{/user}","branches_url":"https://api.github.com/repos/psudug/nittany-vagrant/branches{/branch}","tags_url":"https://api.github.com/repos/psudug/nittany-vagrant/tags","blobs_url":"https://api.github.com/repos/psudug/nittany-vagrant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psudug/nittany-vagrant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psudug/nittany-vagrant/git/refs{/sha}","trees_url":"https://api.github.com/repos/psudug/nittany-vagrant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psudug/nittany-vagrant/statuses/{sha}","languages_url":"https://api.github.com/repos/psudug/nittany-vagrant/languages","stargazers_url":"https://api.github.com/repos/psudug/nittany-vagrant/stargazers","contributors_url":"https://api.github.com/repos/psudug/nittany-vagrant/contributors","subscribers_url":"https://api.github.com/repos/psudug/nittany-vagrant/subscribers","subscription_url":"https://api.github.com/repos/psudug/nittany-vagrant/subscription","commits_url":"https://api.github.com/repos/psudug/nittany-vagrant/commits{/sha}","git_commits_url":"https://api.github.com/repos/psudug/nittany-vagrant/git/commits{/sha}","comments_url":"https://api.github.com/repos/psudug/nittany-vagrant/comments{/number}","issue_comment_url":"https://api.github.com/repos/psudug/nittany-vagrant/issues/comments{/number}","contents_url":"https://api.github.com/repos/psudug/nittany-vagrant/contents/{+path}","compare_url":"https://api.github.com/repos/psudug/nittany-vagrant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psudug/nittany-vagrant/merges","archive_url":"https://api.github.com/repos/psudug/nittany-vagrant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psudug/nittany-vagrant/downloads","issues_url":"https://api.github.com/repos/psudug/nittany-vagrant/issues{/number}","pulls_url":"https://api.github.com/repos/psudug/nittany-vagrant/pulls{/number}","milestones_url":"https://api.github.com/repos/psudug/nittany-vagrant/milestones{/number}","notifications_url":"https://api.github.com/repos/psudug/nittany-vagrant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psudug/nittany-vagrant/labels{/name}","releases_url":"https://api.github.com/repos/psudug/nittany-vagrant/releases{/id}","created_at":"2015-03-11T14:04:55Z","updated_at":"2015-04-08T19:20:10Z","pushed_at":"2015-04-08T20:06:57Z","git_url":"git://github.com/psudug/nittany-vagrant.git","ssh_url":"git@github.com:psudug/nittany-vagrant.git","clone_url":"https://github.com/psudug/nittany-vagrant.git","svn_url":"https://github.com/psudug/nittany-vagrant","homepage":null,"size":2908,"stargazers_count":5,"watchers_count":5,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":5,"default_branch":"master"}},"base":{"label":"psudug:master","ref":"master","sha":"75526dfcb3a74e077b1e3da0f2add47d15a306b0","user":{"login":"psudug","id":11136272,"avatar_url":"https://avatars.githubusercontent.com/u/11136272?v=3","gravatar_id":"","url":"https://api.github.com/users/psudug","html_url":"https://github.com/psudug","followers_url":"https://api.github.com/users/psudug/followers","following_url":"https://api.github.com/users/psudug/following{/other_user}","gists_url":"https://api.github.com/users/psudug/gists{/gist_id}","starred_url":"https://api.github.com/users/psudug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psudug/subscriptions","organizations_url":"https://api.github.com/users/psudug/orgs","repos_url":"https://api.github.com/users/psudug/repos","events_url":"https://api.github.com/users/psudug/events{/privacy}","received_events_url":"https://api.github.com/users/psudug/received_events","type":"Organization","site_admin":false},"repo":{"id":32020845,"name":"nittany-vagrant","full_name":"psudug/nittany-vagrant","owner":{"login":"psudug","id":11136272,"avatar_url":"https://avatars.githubusercontent.com/u/11136272?v=3","gravatar_id":"","url":"https://api.github.com/users/psudug","html_url":"https://github.com/psudug","followers_url":"https://api.github.com/users/psudug/followers","following_url":"https://api.github.com/users/psudug/following{/other_user}","gists_url":"https://api.github.com/users/psudug/gists{/gist_id}","starred_url":"https://api.github.com/users/psudug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psudug/subscriptions","organizations_url":"https://api.github.com/users/psudug/orgs","repos_url":"https://api.github.com/users/psudug/repos","events_url":"https://api.github.com/users/psudug/events{/privacy}","received_events_url":"https://api.github.com/users/psudug/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/psudug/nittany-vagrant","description":"","fork":false,"url":"https://api.github.com/repos/psudug/nittany-vagrant","forks_url":"https://api.github.com/repos/psudug/nittany-vagrant/forks","keys_url":"https://api.github.com/repos/psudug/nittany-vagrant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psudug/nittany-vagrant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psudug/nittany-vagrant/teams","hooks_url":"https://api.github.com/repos/psudug/nittany-vagrant/hooks","issue_events_url":"https://api.github.com/repos/psudug/nittany-vagrant/issues/events{/number}","events_url":"https://api.github.com/repos/psudug/nittany-vagrant/events","assignees_url":"https://api.github.com/repos/psudug/nittany-vagrant/assignees{/user}","branches_url":"https://api.github.com/repos/psudug/nittany-vagrant/branches{/branch}","tags_url":"https://api.github.com/repos/psudug/nittany-vagrant/tags","blobs_url":"https://api.github.com/repos/psudug/nittany-vagrant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psudug/nittany-vagrant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psudug/nittany-vagrant/git/refs{/sha}","trees_url":"https://api.github.com/repos/psudug/nittany-vagrant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psudug/nittany-vagrant/statuses/{sha}","languages_url":"https://api.github.com/repos/psudug/nittany-vagrant/languages","stargazers_url":"https://api.github.com/repos/psudug/nittany-vagrant/stargazers","contributors_url":"https://api.github.com/repos/psudug/nittany-vagrant/contributors","subscribers_url":"https://api.github.com/repos/psudug/nittany-vagrant/subscribers","subscription_url":"https://api.github.com/repos/psudug/nittany-vagrant/subscription","commits_url":"https://api.github.com/repos/psudug/nittany-vagrant/commits{/sha}","git_commits_url":"https://api.github.com/repos/psudug/nittany-vagrant/git/commits{/sha}","comments_url":"https://api.github.com/repos/psudug/nittany-vagrant/comments{/number}","issue_comment_url":"https://api.github.com/repos/psudug/nittany-vagrant/issues/comments{/number}","contents_url":"https://api.github.com/repos/psudug/nittany-vagrant/contents/{+path}","compare_url":"https://api.github.com/repos/psudug/nittany-vagrant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psudug/nittany-vagrant/merges","archive_url":"https://api.github.com/repos/psudug/nittany-vagrant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psudug/nittany-vagrant/downloads","issues_url":"https://api.github.com/repos/psudug/nittany-vagrant/issues{/number}","pulls_url":"https://api.github.com/repos/psudug/nittany-vagrant/pulls{/number}","milestones_url":"https://api.github.com/repos/psudug/nittany-vagrant/milestones{/number}","notifications_url":"https://api.github.com/repos/psudug/nittany-vagrant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psudug/nittany-vagrant/labels{/name}","releases_url":"https://api.github.com/repos/psudug/nittany-vagrant/releases{/id}","created_at":"2015-03-11T14:04:55Z","updated_at":"2015-04-08T19:20:10Z","pushed_at":"2015-04-08T20:06:57Z","git_url":"git://github.com/psudug/nittany-vagrant.git","ssh_url":"git@github.com:psudug/nittany-vagrant.git","clone_url":"https://github.com/psudug/nittany-vagrant.git","svn_url":"https://github.com/psudug/nittany-vagrant","homepage":null,"size":2908,"stargazers_count":5,"watchers_count":5,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/psudug/nittany-vagrant/pulls/28"},"html":{"href":"https://github.com/psudug/nittany-vagrant/pull/28"},"issue":{"href":"https://api.github.com/repos/psudug/nittany-vagrant/issues/28"},"comments":{"href":"https://api.github.com/repos/psudug/nittany-vagrant/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/psudug/nittany-vagrant/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/psudug/nittany-vagrant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/psudug/nittany-vagrant/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/psudug/nittany-vagrant/statuses/37666c9249ec613d59255052aef52045920e28ee"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":62,"deletions":0,"changed_files":1}}