Fix dump of log and custom directory in dump cmd
Fix dump of log and custom directory in dump cmd

Now, the dump cmd uses setting.CustomPath and setting.LogRootPath
instead of setting.WorkDir which was kind of broken if the gogs
binary was in a different directory than gogs data.
Additionally, the backup of setting.CustomPath directory is only done
if it exists.

minecrafter/gitea,kjellkvinge/gitea,andreynering/gitea,manfer/gogs,gigforks/gogs,pikacloud/pikacode,cgars/gogs,lunny/gitea,mpindado/gogs,cybe/gitea,AndreaGiardini/gogs,everhopingandwaiting/gogs,mpindado/gogs,denji/gitea_tmp,DblK/gitea,vdbt/gitea,rems4e/gitea,cem/gogs,strk/gogs,jorgesumle/gitea,geek1011/gitea,tszym/gogs,kubatyszko/gitea,mukaiu/gogs,sillydong/gogs,spacetourist/gitea,wangjild/gogs,bygreencn/gogs,linquize/gogs,jvanderneutstulen/gogs,gigforks/gogs,ethantkoenig/gogs,mark77z/tt2016,manfer/gogs,dancewing/gogs,andreynering/gitea,sapk/gogs,0rax/gogs,sapk-fork/gitea,dlob/gogs,everhopingandwaiting/gogs,psaavedra/gogs,CaeruleusAqua/gitea,wangjild/gogs,mpindado/gogs,cgars/gogs,vCaesar/gitea,svcavallar/gogs,typeless/gitea,likeit92/gogs,mukaiu/gogs,ForxaCoLab/forxa,dnmgns/gitea,Spice-King/gogs,CaeruleusAqua/gitea,jorgesumle/gitea,kong36088/SCAUGogits,tszym/gogs,jvanderneutstulen/gogs,gogits/gogs,sapk/gogs,vdbt/gitea,bygreencn/gogs,ethantkoenig/gitea,odinuge/gogs,liliexuan/gogs,cez81/gitea,tony/gogs,DblK/gitea,0rax/gogs,dlob/gogs,sapk/gogs,mjwwit/gitea,tboerger/gitea,denji/gitea_tmp,dancewing/gogs,Bwko/gitea,kubatyszko/gitea,chriswatt/gogs,chriswatt/gogs,dnmgns/gitea,chriswatt/gogs,cumgun/gitea,pikacloud/pikacode,xaionaro/gogs,rems4e/gitea,cumgun/gitea,mukaiu/gogs,kjellkvinge/gitea,ForxaCoLab/forxa,kong36088/SCAUGogits,psolyca/gitea,cgars/gogs,everhopingandwaiting/gogs,Bwko/gitea,tony/gogs,kjellkvinge/gitea,go-gitea/gitea,Janfred/gogs,JonasFranzDEV/gitea,avelino/gitea,gogits/gogs,svcavallar/gogs,tszym/gogs,avelino/gitea,richmahn/gogs,pentix/gogs,everhopingandwaiting/gogs,dnmgns/gitea,cem/gogs,wangjild/gogs,SlavikZ/gogs,AndreaGiardini/gogs,sillydong/gogs,typeless/gitea,bkcsoft/gogs,psaavedra/gogs,bkcsoft/gogs,bkcsoft/gogs,linquize/gogs,lafriks/gitea,tboerger/gitea,sapk-fork/gitea,Janfred/gogs,xaionaro/gogs,sapk-fork/gitea,mjwwit/gitea,tony/gogs,likeit92/gogs,Morlinest/gitea,psaavedra/gogs,bygreencn/gogs,admik/gitea,geek1011/gitea,gigforks/gogs,likeit92/gogs,typeless/gitea,denji/gitea,SlavikZ/gogs,gigforks/gogs,ethantkoenig/gitea,svcavallar/gogs,kong36088/SCAUGogits,Spice-King/gogs,strk/gogs,go-gitea/gitea,denji/gitea_tmp,vCaesar/gitea,0rax/gogs,tanapoln/gogs,xaionaro/gogs,xormplus/gitea,Janfred/gogs,pentix/gogs,makhov/gitea,mark77z/tt2016,avelino/gitea,cem/gogs,linquize/gogs,gogits/gogs,richmahn/gogs,0rax/gogs,odinuge/gogs,ForxaCoLab/forxa,spacetourist/gitea,odinuge/gogs,jvanderneutstulen/gogs,Bwko/gitea,dl5rcw/gitea,cez81/gitea,liliexuan/gogs,cez81/gitea,sillydong/gogs,lafriks/gitea,dlob/gogs,lunny/gitea,Morlinest/gitea,pentix/gogs,tanapoln/gogs,go-gitea/gitea,lunny/gitea,ethantkoenig/gogs,willemvd/gitea,typeless/gitea,strk/gogs,kubatyszko/gitea,tanapoln/gogs,manfer/gogs,lafriks/gitea,Spice-King/gogs,cybe/gitea,sapk-fork/gitea,pikacloud/pikacode,mark77z/tt2016,SlavikZ/gogs,dancewing/gogs,dancewing/gogs,psolyca/gitea,tboerger/gitea,avelino/gitea,liliexuan/gogs,puffybsd/gitea,AndreaGiardini/gogs,denji/gitea_tmp,JonasFranzDEV/gitea