-
Notifications
You must be signed in to change notification settings - Fork 971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How did Backup fail to restore the site? #9113
Comments
Update: I saw your response on #9073 and decided to try the mysql import directly. I believe that it is failing in the case of restoring using the Backup plugin due to this error. I have not uncovered the root cause, I suspect something in the Backup script itself may be incorrect? Also, the Backup script is failing to report any errors when the restore fails - it probably is a good idea to let the user know that it has failed.
NOTE: THIS LINE APPEARS IN THE database-2024-06-06-09-3705af32dc840ea73cd5d23889a2f443ab.sql file itself at line 507, so we can see the failure occurred when the Backup was created:
|
I suspect the table CachesInDB_backup belongs to you. I do not have this table on AVideo. some how your database is corrupted. maybe you (if your backup is good) you may want to drop your database completely and restore it again |
Hi Daniel- Yes. I just came to the same conclusion. When I was facing that issue with CachesInDB I backed up the table before dropping it - just in case. I dropped that backup table and then Backup worked. |
Describe the bug
I created a new videosite.
I went to plugins->backup and I backed up the videos, and I backed up the database.
I went to the new videosite and I restored the database, and I restored the videos.
There is no change to the new videosite. It has generic branding / no users / no videos.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The videosite to be copied to newvideosite
Note: in /var/www/html/newvideosite/videos I can see many GB of videos folders that apparently were restored. The database, however, is not.
Error Logs
Running plugins->backup->restore the database does not generate any messages (apparently) to the avideo.log - I have just initiated restore on the database (for the third time) and here is the log:
NOTE: I also tried Clonesite and the process simply does not work. It seems to be failing the rsync step.
The text was updated successfully, but these errors were encountered: