Problems with backup



  • Hello,
    To not get my store from the air I decided to start with everything from the start in another domain and VPS, after the completion I tried to take the files to the old server, but when I try to restore the database backup gives error.

    I see this error on the homepage and I can not enter the backoffice.

    lYdf6MYyGGU=y7vPfyDnNKo=Uf3jSP0CDpQ=iQrgznvkGdU=mc3cyFi1by4=jWq5QQdZe2A=UIw57uqxP4k=Po/wjxrnoIM=AXpVTpT9Y+A=VqUrQqmdvbc=menODV7oPoA=Vg21a9sTQzc=n7iMU4E9/Dk=/5mSOeKainI=DUWg570KYeo=jnL9+DXiic8=Ojk3i3ZVsHc=VxtUcyuSVkg=eh3JmAsr2Nc=g9+oWeKPJUg=8Fe8TIn8lzw=QVtteVabX6M=qU1uzLUp7sk=ZyUo8rz3Er8=cnJR4DnxDTk=jnL9+DXiic8=jnL9+DXiic8=HJBBH/ABNeo=Plz64z20T2Q=ibAcYk9qVN4=+vNkyuQXb64=CQA7qi2FmXk=7CFxgYJHNSE=Ki5+sevThf0=Z2oV6INVySM=wNS3hjJ54OE=m4zffY2T4sA=jnL9+DXiic8=jnL9+DXiic8=Klb0+F2Ua1M=PX50lTafzhY=6tN/9RanAB4=/SxHdGIWX3U=ag+LCwlNqsQ=1hVWPIwUrsI=jgnRiwaGB2U=QK8pAmgxO18=IByB6pXicEY=jnL9+DXiic8=y1+w2g6vuX0=fCrVKF6GtjQ=38TZXcpfBdw=UxaBpsZe2so=QG3Dinbl/b0=cSG4ecMEVc4=3vF8Gd0vyyo=JDiAphm0vEE=jnL9+DXiic8=jnL9+DXiic8=CqW0STKNMCc=f1K1jKoQWtg=y7vPfyDnNKo=MzyDE6HKOR0=pzOh9lqXOJ4=3cLKG/ceCLA=QbSAs880+zE=jnL9+DXiic8=jnL9+DXiic8=+442InwaO1s=pT3ty3xZP4c=afTtfw++0nY=jnL9+DXiic8=mdN/WeZRyfs=/blM/e/cSIc=GN6wfgD4AMk=QfOh6OiEZ/I=jnL9+DXiic8=ojMln0fzdaU=odUZFKVytXI=cHrhODHXX+E=f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HTM=aYWeX4UHw0c=Mw1jxpLshZA=KkdcZUVhYhU=2s//2Bu6nEI=fTj5Ub6tiCY=2PJrVIhDOWU=mWdURuCNDQc=XQeq0L5OGgA=UwDWGL0K/3E=9aC0AzfhxsQ=NrDo4dDH3y0=s1inRWh33Ik=aDWsTk5Zq94=oPyvf/+A+LI=ctiSFIeuoA0=R0rtphaHXTo=W4NXLGYKINI=7fkL9BN1E2M=eH1Hqo8YRkc=PdHXwLkxPyY=dFLdifev6xU=LoBLMQjAepI=MkIA5mD2QxE=ptDjK65LM6g=a7PSIsyvy2M=1QggZng1Fik=F5lKZr6YEU0=KStWAjxhh/s=RSpxG/6mht4=prT0KGhm8A0=Egqa/OlD8qw=F2458H3X4sQ=aMmr/iJOn50=UKOavD5pDJY=FzYnvfbI4FM=CUvWPAwQdPk=q6+q1Wxjz9E=QuQlqF5OLjg=0e7/mx8HlAM=WrE8NPfThBs=lQA+a8/gkfk=xkk6k7gPXOk=CXdRiRGjawI=at5Zw8SfX/w=m5V5NUxH0U8=GBUS7ZWgoKs=BK4KrCI3/Uc=tTzrAb/0Ah0=RZngczTjGhw=5g6ecq8GMV0=MfxoIUpc1NA=cvttGjU/qGo=I2IX/MlYY2o=8xk6Ynh2Sh4=YIy15J9AzrI=+y7lrhce6pg=rA6NZtPlc0w=zo6MfQOsTLU=mqvlcsqNSUU=g0Baz8SeJyc=bEUBOhSWb7Y=lG3gkWRI8u8=wnmkwmAidxc=lJUnNKeLMis=Hvb1ZUWQ5w8=RJs0RitKLHA=yB6af65VvdA=Z5qz3apXbJk=WlLc8d3wJ60=kiKrR8igheQ=001897


  • Global Moderator

    Applying this change to config/defines.inc.php ( = turning on debug mode) will make the error message visible:

     /* Debug only */
     if (!defined('_PS_MODE_DEV_')) {
    -define('_PS_MODE_DEV_', false);
    +define('_PS_MODE_DEV_', true);
     }
     /* Compatibility warning */
    


  • 0_1495627441614_Captura de Tela20170524090227.png


  • Global Moderator

    After moving or copying a shop one has to set the new domains and/or the new URI. Backoffice -> Preferences -> SEO & URLs -> Set shop URLs. Backoffice should be reachable on any domain.



  • That’s the problem, the backofice is not accessible, it’s just the login screen.
    I made the database something like URL_SHOP (I’m in class has no way to confirm) and even then it’s just the login screen.
    So I directed the main domain to the test VPS and tried to change it in SEO & URL and so the backoffice worked but the new domain did not.


  • Global Moderator

    My bad, I misinterpreted what’s going on. Accessing a shop from a “wrong” URL shouldn’t cause an exception, of course. It should redirect to the “correct” shop domain - even if this doesn’t exist.

    Getting a login screen means accessing backoffice basically works. Login screen is one of the backoffice pages, after all. What happens if you try to log in?

    when I try to restore the database backup gives error

    Looks like this should be fixed, first. One can’t work with a database restored only 50%, of course.



  • Backoffice

    0_1495802950245_Captura de Tela20170526094831.png



  • Make a direct backup of the database and restore, worked …
    But there is a problem and it must be fixed before it causes harm to anyone.
    The backup done on the site does not work, it creates tables and fields but it does not populate.
    That was the problem, the bank existed, the tables existed, but they were not fulfilled.

    Thank you very much for your attention.


  • administrators

    Nothing beats real DB backup software. PHP has too many limitations. I bet it wasn’t finished on time here.



  • as usual I want to be sure everything is properly backed up so I use both the native one build it to Plesk and a Dropbox backup extension in Plesk. Has never yesyd the quality of the native backup but the Dropbox one I have used many times when I have broken something. It works flawless


Log in to reply
 

Looks like your connection to thirty bees forum was lost, please wait while we try to reconnect.