{"action":"created","comment":{"url":"https://api.github.com/repos/OpenAT/odoo_v8.0/pulls/comments/45310409","id":45310409,"diff_hunk":"@@ -1200,20 +1210,18 @@ if [ \"$SCRIPT_MODE\" = \"updatetranslation\" ]; then\n \n     # ------------------------------------------ ADMIN POST PREPARATION 8 - 9 - 10 BEGIN -----------------------------------------\n \n-    echo \"Temporary backup of Database ${DBNAME} after udpate...\"\n-    ${INSTANCE_PATH}/TOOLS/db-tools.py -b ${BASEPORT69} -s \"${SUPER_PASSWORD}\" backup -d ${DBNAME} -f ${TMPFILENAME}_after.zip\n-    # TODO: change this recursive call odoo_tools.sh later or use only pgdump for this temp backup\n-    #sudo - postgres ${DBNAME} > ${TMPFILENAME}_before.sql\n     echo \"Starting up Database ....\"\n     service ${DBNAME} start\n+    sleep 10\n+    echo \"Temporary backup of Database ${DBNAME} after udpate...\"\n+    sh -c \"$0 backup ${TARGET_BRANCH} ${DBNAME}\"\n     #remove temp INSTALLED ADDON LIST NOT NEEDED and is overriten everytime\n     rm ${INSTANCE_PATH}/${DBNAME}/INSTALLEDMODULES\n     echo \"Disable maintenance mode of customer Instance ...\"\n     sh -c \"$0 maintenancemode ${TARGET_BRANCH} ${DBNAME} disable\" #recursice call this script with special parameter\n     echo -e \"\\t\\t!!!!! ATTENTION !!!!!\"\n-    echo -e \"\\n \\t\\t PLEASE DELETE ${TMPFILENAME}_after.zip\"\n-    echo -e \"and ${TMPFILENAME}_before.zip if everything went well\"\n-    echo -e \"\\t\\t OR USE IT FOR RESTORE\"\n+    echo -e \"\\n \\t\\t temporary backup files has been created IS-BACKUP--${DBNAME}--date.zip\"\n+    echo -e \"\\t\\t DELETE OR USE IT FOR RESTORE\"\n \n     # ------------------------------------------- ADMIN POST PREPARATION END ------------------------------------------","path":"TOOLS/odoo-tools.sh","position":74,"original_position":74,"commit_id":"64444413a7776e2f76b5e421ecc8808b1fb30aee","original_commit_id":"64444413a7776e2f76b5e421ecc8808b1fb30aee","user":{"login":"michaelkarrer81","id":6480630,"avatar_url":"https://avatars.githubusercontent.com/u/6480630?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelkarrer81","html_url":"https://github.com/michaelkarrer81","followers_url":"https://api.github.com/users/michaelkarrer81/followers","following_url":"https://api.github.com/users/michaelkarrer81/following{/other_user}","gists_url":"https://api.github.com/users/michaelkarrer81/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelkarrer81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelkarrer81/subscriptions","organizations_url":"https://api.github.com/users/michaelkarrer81/orgs","repos_url":"https://api.github.com/users/michaelkarrer81/repos","events_url":"https://api.github.com/users/michaelkarrer81/events{/privacy}","received_events_url":"https://api.github.com/users/michaelkarrer81/received_events","type":"User","site_admin":false},"body":"Again please follow comment standrad of ```# ----- comment```","created_at":"2015-11-19T07:52:50Z","updated_at":"2015-11-19T07:52:50Z","html_url":"https://github.com/OpenAT/odoo_v8.0/pull/95#discussion_r45310409","pull_request_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/pulls/95","_links":{"self":{"href":"https://api.github.com/repos/OpenAT/odoo_v8.0/pulls/comments/45310409"},"html":{"href":"https://github.com/OpenAT/odoo_v8.0/pull/95#discussion_r45310409"},"pull_request":{"href":"https://api.github.com/repos/OpenAT/odoo_v8.0/pulls/95"}}},"pull_request":{"url":"https://api.github.com/repos/OpenAT/odoo_v8.0/pulls/95","id":51188752,"html_url":"https://github.com/OpenAT/odoo_v8.0/pull/95","diff_url":"https://github.com/OpenAT/odoo_v8.0/pull/95.diff","patch_url":"https://github.com/OpenAT/odoo_v8.0/pull/95.patch","issue_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/issues/95","number":95,"state":"open","locked":false,"title":"Backupscript","user":{"login":"winston6071","id":5407843,"avatar_url":"https://avatars.githubusercontent.com/u/5407843?v=3","gravatar_id":"","url":"https://api.github.com/users/winston6071","html_url":"https://github.com/winston6071","followers_url":"https://api.github.com/users/winston6071/followers","following_url":"https://api.github.com/users/winston6071/following{/other_user}","gists_url":"https://api.github.com/users/winston6071/gists{/gist_id}","starred_url":"https://api.github.com/users/winston6071/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winston6071/subscriptions","organizations_url":"https://api.github.com/users/winston6071/orgs","repos_url":"https://api.github.com/users/winston6071/repos","events_url":"https://api.github.com/users/winston6071/events{/privacy}","received_events_url":"https://api.github.com/users/winston6071/received_events","type":"User","site_admin":false},"body":"add backup script to odoo-tools.sh","created_at":"2015-11-19T07:27:53Z","updated_at":"2015-11-19T07:52:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"35ee386456e135d4fc4e6554b729a153039cd1a9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/pulls/95/commits","review_comments_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/pulls/95/comments","review_comment_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/issues/95/comments","statuses_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/statuses/64444413a7776e2f76b5e421ecc8808b1fb30aee","head":{"label":"OpenAT:backupscript","ref":"backupscript","sha":"64444413a7776e2f76b5e421ecc8808b1fb30aee","user":{"login":"OpenAT","id":8281731,"avatar_url":"https://avatars.githubusercontent.com/u/8281731?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenAT","html_url":"https://github.com/OpenAT","followers_url":"https://api.github.com/users/OpenAT/followers","following_url":"https://api.github.com/users/OpenAT/following{/other_user}","gists_url":"https://api.github.com/users/OpenAT/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenAT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenAT/subscriptions","organizations_url":"https://api.github.com/users/OpenAT/orgs","repos_url":"https://api.github.com/users/OpenAT/repos","events_url":"https://api.github.com/users/OpenAT/events{/privacy}","received_events_url":"https://api.github.com/users/OpenAT/received_events","type":"Organization","site_admin":false},"repo":{"id":25259399,"name":"odoo_v8.0","full_name":"OpenAT/odoo_v8.0","owner":{"login":"OpenAT","id":8281731,"avatar_url":"https://avatars.githubusercontent.com/u/8281731?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenAT","html_url":"https://github.com/OpenAT","followers_url":"https://api.github.com/users/OpenAT/followers","following_url":"https://api.github.com/users/OpenAT/following{/other_user}","gists_url":"https://api.github.com/users/OpenAT/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenAT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenAT/subscriptions","organizations_url":"https://api.github.com/users/OpenAT/orgs","repos_url":"https://api.github.com/users/OpenAT/repos","events_url":"https://api.github.com/users/OpenAT/events{/privacy}","received_events_url":"https://api.github.com/users/OpenAT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenAT/odoo_v8.0","description":"odoo Version 8.0","fork":false,"url":"https://api.github.com/repos/OpenAT/odoo_v8.0","forks_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/forks","keys_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/teams","hooks_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/hooks","issue_events_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/issues/events{/number}","events_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/events","assignees_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/assignees{/user}","branches_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/branches{/branch}","tags_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/tags","blobs_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/languages","stargazers_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/stargazers","contributors_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/contributors","subscribers_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/subscribers","subscription_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/subscription","commits_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/contents/{+path}","compare_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/merges","archive_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/downloads","issues_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/issues{/number}","pulls_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/labels{/name}","releases_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/releases{/id}","created_at":"2014-10-15T14:53:44Z","updated_at":"2015-08-26T16:45:27Z","pushed_at":"2015-11-19T07:27:53Z","git_url":"git://github.com/OpenAT/odoo_v8.0.git","ssh_url":"git@github.com:OpenAT/odoo_v8.0.git","clone_url":"https://github.com/OpenAT/odoo_v8.0.git","svn_url":"https://github.com/OpenAT/odoo_v8.0","homepage":null,"size":53942,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":16,"forks":4,"open_issues":16,"watchers":7,"default_branch":"master"}},"base":{"label":"OpenAT:master","ref":"master","sha":"050bc75add071cb10b5a758b72af6f390b495caf","user":{"login":"OpenAT","id":8281731,"avatar_url":"https://avatars.githubusercontent.com/u/8281731?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenAT","html_url":"https://github.com/OpenAT","followers_url":"https://api.github.com/users/OpenAT/followers","following_url":"https://api.github.com/users/OpenAT/following{/other_user}","gists_url":"https://api.github.com/users/OpenAT/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenAT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenAT/subscriptions","organizations_url":"https://api.github.com/users/OpenAT/orgs","repos_url":"https://api.github.com/users/OpenAT/repos","events_url":"https://api.github.com/users/OpenAT/events{/privacy}","received_events_url":"https://api.github.com/users/OpenAT/received_events","type":"Organization","site_admin":false},"repo":{"id":25259399,"name":"odoo_v8.0","full_name":"OpenAT/odoo_v8.0","owner":{"login":"OpenAT","id":8281731,"avatar_url":"https://avatars.githubusercontent.com/u/8281731?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenAT","html_url":"https://github.com/OpenAT","followers_url":"https://api.github.com/users/OpenAT/followers","following_url":"https://api.github.com/users/OpenAT/following{/other_user}","gists_url":"https://api.github.com/users/OpenAT/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenAT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenAT/subscriptions","organizations_url":"https://api.github.com/users/OpenAT/orgs","repos_url":"https://api.github.com/users/OpenAT/repos","events_url":"https://api.github.com/users/OpenAT/events{/privacy}","received_events_url":"https://api.github.com/users/OpenAT/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenAT/odoo_v8.0","description":"odoo Version 8.0","fork":false,"url":"https://api.github.com/repos/OpenAT/odoo_v8.0","forks_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/forks","keys_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/teams","hooks_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/hooks","issue_events_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/issues/events{/number}","events_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/events","assignees_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/assignees{/user}","branches_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/branches{/branch}","tags_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/tags","blobs_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/languages","stargazers_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/stargazers","contributors_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/contributors","subscribers_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/subscribers","subscription_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/subscription","commits_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/contents/{+path}","compare_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/merges","archive_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/downloads","issues_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/issues{/number}","pulls_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/labels{/name}","releases_url":"https://api.github.com/repos/OpenAT/odoo_v8.0/releases{/id}","created_at":"2014-10-15T14:53:44Z","updated_at":"2015-08-26T16:45:27Z","pushed_at":"2015-11-19T07:27:53Z","git_url":"git://github.com/OpenAT/odoo_v8.0.git","ssh_url":"git@github.com:OpenAT/odoo_v8.0.git","clone_url":"https://github.com/OpenAT/odoo_v8.0.git","svn_url":"https://github.com/OpenAT/odoo_v8.0","homepage":null,"size":53942,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":16,"forks":4,"open_issues":16,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenAT/odoo_v8.0/pulls/95"},"html":{"href":"https://github.com/OpenAT/odoo_v8.0/pull/95"},"issue":{"href":"https://api.github.com/repos/OpenAT/odoo_v8.0/issues/95"},"comments":{"href":"https://api.github.com/repos/OpenAT/odoo_v8.0/issues/95/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenAT/odoo_v8.0/pulls/95/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenAT/odoo_v8.0/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenAT/odoo_v8.0/pulls/95/commits"},"statuses":{"href":"https://api.github.com/repos/OpenAT/odoo_v8.0/statuses/64444413a7776e2f76b5e421ecc8808b1fb30aee"}}}}