Problem to restore from backup

Post Reply
User avatar
marijan
Posts: 281
Joined: 06 Dec 2018, 04:52
Name: Marijan Grijakovic
Location: Skopje

Problem to restore from backup

Post by marijan »

Dear Sergey,

I have two different servers and database and I made lot of tests but still I have a problem with restore from backup.

Here is scenario what I do:
Rukovoditel from version 2.8.3 I upgrade to 2.9.2 and I made backup and for test I try to restore backup and is OK then,
Then I made upgrade from version 2.9.2 to version 3.0 beta 2 (same with beta1) and everything works as usual, but problem is when I make also backup and try to restore then I have errors - backup not work but it works only from Phpmyadmin.

So I made lot of test and different scenarios on two different serves and databases but problem is same even If I only make a upgrade of version without any changes restore from backup still not work.

Everything other works perfect, only problem is when I try to restore from backup in Rukovoditel.

P.S. What can be difference between using backup for restore from Phpmyadmin and Rukovoditel?
As I remember before with some old versions to use restore backup from Phpmyadmin and Rukovoditel was made some differences in showing some special characters on the screen.

Hope that you will find solution as usual because I need Rukovoditel for restore if need 😊
Screenshot_1175.png
Screenshot_1174.png
Screenshot_1173.png
Last edited by marijan on 05 Dec 2021, 10:04, edited 1 time in total.
User avatar
support
Site Admin
Posts: 6231
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Promlem to restore from backup

Post by support »

Can you send me backup file in pm and i will test it on my server
User avatar
marijan
Posts: 281
Joined: 06 Dec 2018, 04:52
Name: Marijan Grijakovic
Location: Skopje

Re: Problem to restore from backup

Post by marijan »

Dear Sergey,
PM sent ;)
User avatar
marijan
Posts: 281
Joined: 06 Dec 2018, 04:52
Name: Marijan Grijakovic
Location: Skopje

Re: Problem to restore from backup

Post by marijan »

Dear Sergey,

I think that I found problem and now restore from backup works, but please check PM and confirm if this was problem.
In /includes/classes/backup.php at line 208 it was:

Code: Select all

                $limit = 100;
and I make a change like in prevoious versionso to:

Code: Select all

                $limit = 1000;
And now every backup and restore works, no more errors with restore

Waiting for your confirmation
User avatar
support
Site Admin
Posts: 6231
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Problem to restore from backup

Post by support »

Changing limit is not solution. I have found conflict in code. File from archive replace to includes\classes\
Let me know how it works now.
Attachments
backup.zip
(3.71 KiB) Downloaded 61 times
User avatar
marijan
Posts: 281
Joined: 06 Dec 2018, 04:52
Name: Marijan Grijakovic
Location: Skopje

Re: Problem to restore from backup

Post by marijan »

I made a lot of test and I can confirm that it works now.

Thanks a lot Sergey
Post Reply