Adds DB-sensitive tablename escape for backup task.
Adds DB-sensitive tablename escape for backup task.

Uses ActiveRecord::Base.connection.quote_table_name.
Fixes issue 2437.

bigsurge/gitlabhq,OtkurBiz/gitlabhq,iiet/iiet-git,betabot7/gitlabhq,dplarson/gitlabhq,akumetsuv/gitlab,adaiguoguo/gitlab_globalserarch,k4zzk/gitlabhq,Razer6/gitlabhq,neiljbrookes/glab,michaKFromParis/gitlabhq,H3Chief/gitlabhq,NuLL3rr0r/gitlabhq,8thcolor/rubyconfau2015-sadr,initiummedia/gitlabhq,Burick/gitlabhq,yulchitaj/TEST3,stanhu/gitlabhq,yama07/gitlabhq,windymid/test2,ngpestelos/gitlabhq,iiet/iiet-git,kitech/gitlabhq,neiljbrookes/glab,bigsurge/gitlabhq,1ed/gitlabhq,atomaka/gitlabhq,windymid/test2,gopeter/gitlabhq,Soullivaneuh/gitlabhq,nmav/gitlabhq,Tyrael/gitlabhq,cui-liqiang/gitlab-ce,eliasp/gitlabhq,fgbreel/gitlabhq,martijnvermaat/gitlabhq,fscherwi/gitlabhq,lvfeng1130/gitlabhq,fearenales/gitlabhq,mr-dxdy/gitlabhq,dvrylc/gitlabhq,htve/GitlabForChinese,jvanbaarsen/gitlabhq,shinexiao/gitlabhq,zBMNForks/gitlabhq,fearenales/gitlabhq,koreamic/gitlabhq,pkgr/gitlabhq,LUMC/gitlabhq,0x20h/gitlabhq,theonlydoo/gitlabhq,tim-hoff/gitlabhq,Exeia/gitlabhq,cncodog/gitlab,openwide-java/gitlabhq,mathstuf/gitlabhq,mente/gitlabhq,123Haynes/gitlabhq,ZeoAlliance/gitlabhq,pkgr/gitlabhq,TheWatcher/gitlabhq,Devin001/gitlabhq,pupaxxo/gitlabhq,allistera/gitlabhq,sonalkr132/gitlabhq,hacsoc/gitlabhq,jvanbaarsen/gitlabhq,sekcheong/gitlabhq,bbodenmiller/gitlabhq,wangcan2014/gitlabhq,OtkurBiz/gitlabhq,atomaka/gitlabhq,fantasywind/gitlabhq,whluwit/gitlabhq,theodi/gitlabhq,jairzh/gitlabhq-sfdc,yatish27/gitlabhq,hacsoc/gitlabhq,rumpelsepp/gitlabhq,iiet/iiet-git,martijnvermaat/gitlabhq,zBMNForks/gitlabhq,michaKFromParis/gitlabhqold,sekcheong/gitlabhq,LUMC/gitlabhq,sideci-sample/sideci-sample-gitlabhq,szechyjs/gitlabhq,jrjang/gitlabhq,larryli/gitlabhq,Telekom-PD/gitlabhq,johnmyqin/gitlabhq,theonlydoo/gitlabhq,mavimo/gitlabhq,Telekom-PD/gitlabhq,jirutka/gitlabhq,jrjang/gitlab-ce,folpindo/gitlabhq,michaKFromParis/gitlabhq,goeun/myRepo,tk23/gitlabhq,nmav/gitlabhq,Razer6/gitlabhq,ordiychen/gitlabhq,mmkassem/gitlabhq,sakishum/gitlabhq,initiummedia/gitlabhq,sue445/gitlabhq,Soullivaneuh/gitlabhq,dvrylc/gitlabhq,chenrui2014/gitlabhq,jvanbaarsen/gitlabhq,ttasanen/gitlabhq,stoplightio/gitlabhq,salipro4ever/gitlabhq,fgbreel/gitlabhq,bozaro/gitlabhq,SVArago/gitlabhq,copystudy/gitlabhq,gopeter/gitlabhq,NKMR6194/gitlabhq,fscherwi/gitlabhq,NARKOZ/gitlabhq,per-garden/gitlabhq,cui-liqiang/gitlab-ce,8thcolor/rubyconfau2015-sadr,rhels/gitlabhq,sideci-sample/sideci-sample-gitlabhq,sideci-sample/sideci-sample-gitlabhq,louahola/gitlabhq,betabot7/gitlabhq,allysonbarros/gitlabhq,manfer/gitlabhq,yama07/gitlabhq,allistera/gitlabhq,stellamiranda/mobbr-gitlabhq,hq804116393/gitlabhq,k4zzk/gitlabhq,larryli/gitlabhq,hzy001/gitlabhq,julianengel/gitlabhq,tempbottle/gitlabhq,fantasywind/gitlabhq,mathstuf/gitlabhq,cui-liqiang/gitlab-ce,copystudy/gitlabhq,123Haynes/gitlabhq,childbamboo/gitlabhq,Exeia/gitlabhq,michaKFromParis/gitlabhq,ordiychen/gitlabhq,cncodog/gitlab,bigsurge/gitlabhq,jrjang/gitlab-ce,htve/GitlabForChinese,folpindo/gitlabhq,t-zuehlsdorff/gitlabhq,nmav/gitlabhq,salipro4ever/gitlabhq,allysonbarros/gitlabhq,dwrensha/gitlabhq,revaret/gitlabhq,cncodog/gitlab,yonglehou/gitlabhq,fpgentil/gitlabhq,michaKFromParis/sparkslab,yuyue2013/ss,theodi/gitlabhq,chadyred/gitlabhq,atomaka/gitlabhq,MauriceMohlek/gitlabhq,darkrasid/gitlabhq,Razer6/gitlabhq,axilleas/gitlabhq,johnmyqin/gitlabhq,johnmyqin/gitlabhq,liyakun/gitlabhq,nguyen-tien-mulodo/gitlabhq,rhels/gitlabhq,icedwater/gitlabhq,kemenaran/gitlabhq,dplarson/gitlabhq,openwide-java/gitlabhq,pupaxxo/gitlabhq,LUMC/gitlabhq,sue445/gitlabhq,yfaizal/gitlabhq,ksoichiro/gitlabhq,pkallberg/tjenare,dwrensha/gitlabhq,Telekom-PD/gitlabhq,aaronsnyder/gitlabhq,kotaro-dev/gitlab-6-9,DanielZhangQingLong/gitlabhq,luzhongyang/gitlabhq,fpgentil/gitlabhq,darkrasid/gitlabhq,pjknkda/gitlabhq,Telekom-PD/gitlabhq,childbamboo/gitlabhq,mente/gitlabhq,k4zzk/gitlabhq,martinma4/gitlabhq,rhels/gitlabhq,koreamic/gitlabhq,8thcolor/testing-public-gitlabhq,since2014/gitlabhq,mmkassem/gitlabhq,SVArago/gitlabhq,kotaro-dev/gitlab-6-9,8thcolor/rubyconfau2015-sadr,MauriceMohlek/gitlabhq,manfer/gitlabhq,zBMNForks/gitlabhq,koreamic/gitlabhq,since2014/gitlabhq,joalmeid/gitlabhq,yatish27/gitlabhq,luzhongyang/gitlabhq,per-garden/gitlabhq,tempbottle/gitlabhq,lvfeng1130/gitlabhq,martijnvermaat/gitlabhq,flashbuckets/gitlabhq,NuLL3rr0r/gitlabhq,ikappas/gitlabhq,zrbsprite/gitlabhq,fendoudeqingchunhh/gitlabhq,mavimo/gitlabhq,yama07/gitlabhq,julianengel/gitlabhq,julianengel/gitlabhq,OtkurBiz/gitlabhq,flashbuckets/gitlabhq,Datacom/gitlabhq,stoplightio/gitlabhq,fantasywind/gitlabhq,duduribeiro/gitlabhq,yuyue2013/ss,phinfonet/mobbr-gitlabhq,pjknkda/gitlabhq,H3Chief/gitlabhq,revaret/gitlabhq,eliasp/gitlabhq,screenpages/gitlabhq,michaKFromParis/gitlabhq,bozaro/gitlabhq,jairzh/gitlabhq-sfdc,theonlydoo/gitlabhq,ZeoAlliance/gitlabhq,szechyjs/gitlabhq,hzy001/gitlabhq,theonlydoo/gitlabhq,ttasanen/gitlabhq,rfeese/gitlab-ce,theodi/gitlabhq,t-zuehlsdorff/gitlabhq,ordiychen/gitlabhq,michaKFromParis/gitlabhqold,sonalkr132/gitlabhq,stoplightio/gitlabhq,dukex/gitlabhq,fpgentil/gitlabhq,mavimo/gitlabhq,martijnvermaat/gitlabhq,fearenales/gitlabhq,julianengel/gitlabhq,duduribeiro/gitlabhq,hacsoc/gitlabhq,chadyred/gitlabhq,kemenaran/gitlabhq,xuvw/gitlabhq,stanhu/gitlabhq,kitech/gitlabhq,zBMNForks/gitlabhq,jrjang/gitlabhq,xuvw/gitlabhq,larryli/gitlabhq,TheWatcher/gitlabhq,ferdinandrosario/gitlabhq,michaKFromParis/gitlabhqold,tim-hoff/gitlabhq,jirutka/gitlabhq,rebecamendez/gitlabhq,SVArago/gitlabhq,mmkassem/gitlabhq,jirutka/gitlabhq,nguyen-tien-mulodo/gitlabhq,folpindo/gitlabhq,ordiychen/gitlabhq,eliasp/gitlabhq,jrjang/gitlab-ce,daiyu/gitlab-zh,NuLL3rr0r/gitlabhq,youprofit/gitlabhq,since2014/gitlabhq,chadyred/gitlabhq,pjknkda/gitlabhq,williamherry/gitlabhq,williamherry/gitlabhq,manfer/gitlabhq,axilleas/gitlabhq,mr-dxdy/gitlabhq,dwrensha/gitlabhq,akumetsuv/gitlab,wangcan2014/gitlabhq,neiljbrookes/glab,sakishum/gitlabhq,123Haynes/gitlabhq,dplarson/gitlabhq,fpgentil/gitlabhq,LytayTOUCH/gitlabhq,mmkassem/gitlabhq,DanielZhangQingLong/gitlabhq,hq804116393/gitlabhq,goeun/myRepo,cinderblock/gitlabhq,it33/gitlabhq,cinderblock/gitlabhq,bozaro/gitlabhq,Exeia/gitlabhq,OlegGirko/gitlab-ce,rfeese/gitlab-ce,Soullivaneuh/gitlabhq,cncodog/gitlab,gorgee/gitlabhq,screenpages/gitlabhq,Tyrael/gitlabhq,SkyWei/gitlabhq,copystudy/gitlabhq,axilleas/gitlabhq,jrjang/gitlabhq,nguyen-tien-mulodo/gitlabhq,bozaro/gitlabhq,martinma4/gitlabhq,jaepyoung/gitlabhq,fantasywind/gitlabhq,Kambda/mobbr-gitlabhq,pulkit21/gitlabhq,joalmeid/gitlabhq,NARKOZ/gitlabhq,Devin001/gitlabhq,mr-dxdy/gitlabhq,Keystion/gitlabhq,dreampet/gitlab,szechyjs/gitlabhq,DanielZhangQingLong/gitlabhq,t-zuehlsdorff/gitlabhq,vjustov/gitlabhq,salipro4ever/gitlabhq,yulchitaj/TEST3,darkrasid/gitlabhq,tempbottle/gitlabhq,pkallberg/tjenare,bigsurge/gitlabhq,fgbreel/gitlabhq,theodi/gitlabhq,betabot7/gitlabhq,ayufan/gitlabhq,Razer6/gitlabhq,NARKOZ/gitlabhq,it33/gitlabhq,louahola/gitlabhq,ZeoAlliance/gitlabhq,OtkurBiz/gitlabhq,chenrui2014/gitlabhq,gorgee/gitlabhq,openwide-java/gitlabhq,hq804116393/gitlabhq,darkrasid/gitlabhq,yonglehou/gitlabhq,youprofit/gitlabhq,akumetsuv/gitlab,pulkit21/gitlabhq,Exeia/gitlabhq,OlegGirko/gitlab-ce,liyakun/gitlabhq,per-garden/gitlabhq,zrbsprite/gitlabhq,michaKFromParis/gitlabhqold,ksoichiro/gitlabhq,joalmeid/gitlabhq,Tyrael/gitlabhq,hacsoc/gitlabhq,allistera/gitlabhq,delkyd/gitlabhq,LUMC/gitlabhq,LytayTOUCH/gitlabhq,dukex/gitlabhq,shinexiao/gitlabhq,phinfonet/mobbr-gitlabhq,TheWatcher/gitlabhq,it33/gitlabhq,gorgee/gitlabhq,mrb/gitlabhq,rebecamendez/gitlabhq,ikappas/gitlabhq,delkyd/gitlabhq,dukex/gitlabhq,0x20h/gitlabhq,youprofit/gitlabhq,TheWatcher/gitlabhq,pulkit21/gitlabhq,k4zzk/gitlabhq,bbodenmiller/gitlabhq,icedwater/gitlabhq,liyakun/gitlabhq,dreampet/gitlab,szechyjs/gitlabhq,delkyd/gitlabhq,ngpestelos/gitlabhq,louahola/gitlabhq,gorgee/gitlabhq,vjustov/gitlabhq,salipro4ever/gitlabhq,mathstuf/gitlabhq,yfaizal/gitlabhq,openwide-java/gitlabhq,Burick/gitlabhq,michaKFromParis/sparkslab,1ed/gitlabhq,htve/GitlabForChinese,duduribeiro/gitlabhq,Burick/gitlabhq,Keystion/gitlabhq,sonalkr132/gitlabhq,wangcan2014/gitlabhq,goeun/myRepo,adaiguoguo/gitlab_globalserarch,fgbreel/gitlabhq,ikappas/gitlabhq,jvanbaarsen/gitlabhq,aaronsnyder/gitlabhq,pulkit21/gitlabhq,since2014/gitlabhq,jrjang/gitlabhq,allysonbarros/gitlabhq,hzy001/gitlabhq,Kambda/Mobbr,ArthurHoaro/Public-GitLab,mathstuf/gitlabhq,yulchitaj/TEST3,yfaizal/gitlabhq,8thcolor/eurucamp2014-htdsadr,Datacom/gitlabhq,daiyu/gitlab-zh,cui-liqiang/gitlab-ce,NARKOZ/gitlabhq,jaepyoung/gitlabhq,zrbsprite/gitlabhq,ibiart/gitlabhq,WSDC-NITWarangal/gitlabhq,stellamiranda/mobbr-gitlabhq,MauriceMohlek/gitlabhq,LytayTOUCH/gitlabhq,H3Chief/gitlabhq,Soullivaneuh/gitlabhq,Kambda/Mobbr,michaKFromParis/sparkslab,delkyd/gitlabhq,yatish27/gitlabhq,daiyu/gitlab-zh,ksoichiro/gitlabhq,icedwater/gitlabhq,DanielZhangQingLong/gitlabhq,zrbsprite/gitlabhq,ksoichiro/gitlabhq,ngpestelos/gitlabhq,yama07/gitlabhq,allysonbarros/gitlabhq,fearenales/gitlabhq,achako/gitlabhq,bladealslayer/gitlabhq,NKMR6194/gitlabhq,michaKFromParis/sparkslab,OlegGirko/gitlab-ce,kotaro-dev/gitlab-6-9,mr-dxdy/gitlabhq,martinma4/gitlabhq,lbt/gitlabhq,H3Chief/gitlabhq,wangcan2014/gitlabhq,liyakun/gitlabhq,lbt/gitlabhq,bbodenmiller/gitlabhq,whluwit/gitlabhq,8thcolor/eurucamp2014-htdsadr,cinderblock/gitlabhq,aaronsnyder/gitlabhq,sakishum/gitlabhq,rebecamendez/gitlabhq,tim-hoff/gitlabhq,gopeter/gitlabhq,adaiguoguo/gitlab_globalserarch,WSDC-NITWarangal/gitlabhq,yatish27/gitlabhq,SkyWei/gitlabhq,8thcolor/testing-public-gitlabhq,hzy001/gitlabhq,Kambda/mobbr-gitlabhq,aaronsnyder/gitlabhq,stanhu/gitlabhq,gopeter/gitlabhq,yonglehou/gitlabhq,MauriceMohlek/gitlabhq,OlegGirko/gitlab-ce,Kambda/mobbr-gitlabhq,hq804116393/gitlabhq,rumpelsepp/gitlabhq,allistera/gitlabhq,rebecamendez/gitlabhq,stellamiranda/mobbr-gitlabhq,jirutka/gitlabhq,8thcolor/testing-public-gitlabhq,fendoudeqingchunhh/gitlabhq,stoplightio/gitlabhq,ikappas/gitlabhq,chenrui2014/gitlabhq,t-zuehlsdorff/gitlabhq,screenpages/gitlabhq,pkgr/gitlabhq,axilleas/gitlabhq,rumpelsepp/gitlabhq,Datacom/gitlabhq,larryli/gitlabhq,sonalkr132/gitlabhq,daiyu/gitlab-zh,mente/gitlabhq,tim-hoff/gitlabhq,nmav/gitlabhq,flashbuckets/gitlabhq,jrjang/gitlab-ce,8thcolor/eurucamp2014-htdsadr,bladealslayer/gitlabhq,mente/gitlabhq,ayufan/gitlabhq,fscherwi/gitlabhq,ayufan/gitlabhq,jaepyoung/gitlabhq,ArthurHoaro/Public-GitLab,whluwit/gitlabhq,dreampet/gitlab,sekcheong/gitlabhq,lbt/gitlabhq,dreampet/gitlab,ngpestelos/gitlabhq,initiummedia/gitlabhq,WSDC-NITWarangal/gitlabhq,xuvw/gitlabhq,screenpages/gitlabhq,kemenaran/gitlabhq,childbamboo/gitlabhq,kemenaran/gitlabhq,youprofit/gitlabhq,NKMR6194/gitlabhq,shinexiao/gitlabhq,NKMR6194/gitlabhq,Burick/gitlabhq,Devin001/gitlabhq,fendoudeqingchunhh/gitlabhq,tk23/gitlabhq,kitech/gitlabhq,jaepyoung/gitlabhq,iiet/iiet-git,jairzh/gitlabhq-sfdc,eliasp/gitlabhq,ferdinandrosario/gitlabhq,Devin001/gitlabhq,rhels/gitlabhq,sue445/gitlabhq,per-garden/gitlabhq,ibiart/gitlabhq,0x20h/gitlabhq,dvrylc/gitlabhq,duduribeiro/gitlabhq,sekcheong/gitlabhq,flashbuckets/gitlabhq,WSDC-NITWarangal/gitlabhq,nguyen-tien-mulodo/gitlabhq,pkallberg/tjenare,vjustov/gitlabhq,mrb/gitlabhq,luzhongyang/gitlabhq,folpindo/gitlabhq,yfaizal/gitlabhq,rfeese/gitlab-ce,achako/gitlabhq,Keystion/gitlabhq,yonglehou/gitlabhq,revaret/gitlabhq,bbodenmiller/gitlabhq,luzhongyang/gitlabhq,phinfonet/mobbr-gitlabhq,revaret/gitlabhq,cinderblock/gitlabhq,windymid/test2,ferdinandrosario/gitlabhq,williamherry/gitlabhq,initiummedia/gitlabhq,achako/gitlabhq,shinexiao/gitlabhq,htve/GitlabForChinese,pjknkda/gitlabhq,LytayTOUCH/gitlabhq,copystudy/gitlabhq,tk23/gitlabhq,dukex/gitlabhq,Tyrael/gitlabhq,rumpelsepp/gitlabhq,louahola/gitlabhq,it33/gitlabhq,koreamic/gitlabhq,rfeese/gitlab-ce,mrb/gitlabhq,sakishum/gitlabhq,tempbottle/gitlabhq,johnmyqin/gitlabhq,yulchitaj/TEST3,Datacom/gitlabhq,lvfeng1130/gitlabhq,vjustov/gitlabhq,yuyue2013/ss,kitech/gitlabhq,Kambda/Mobbr,martinma4/gitlabhq,ttasanen/gitlabhq,whluwit/gitlabhq,joalmeid/gitlabhq,childbamboo/gitlabhq,SkyWei/gitlabhq,ttasanen/gitlabhq,ArthurHoaro/Public-GitLab,yuyue2013/ss,fendoudeqingchunhh/gitlabhq,mrb/gitlabhq,dplarson/gitlabhq,adaiguoguo/gitlab_globalserarch,sue445/gitlabhq,lvfeng1130/gitlabhq,SVArago/gitlabhq,dvrylc/gitlabhq,1ed/gitlabhq,mavimo/gitlabhq,tk23/gitlabhq,chenrui2014/gitlabhq,ibiart/gitlabhq,SkyWei/gitlabhq,manfer/gitlabhq,bladealslayer/gitlabhq,icedwater/gitlabhq,ayufan/gitlabhq,ferdinandrosario/gitlabhq,Keystion/gitlabhq,stanhu/gitlabhq,jairzh/gitlabhq-sfdc,fscherwi/gitlabhq,dwrensha/gitlabhq,pupaxxo/gitlabhq,williamherry/gitlabhq,chadyred/gitlabhq