ZenphotoCMS Forum
Possible bug report - autobackup tool - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Possible bug report - autobackup tool (/thread-11773.html)



Possible bug report - autobackup tool - Jole - 2014-05-01

Hello.

In last few months I had problems with auto backup plugin. It just creates new backups without any order, I tried to change backup interval from one week to 15 days, but nothing worked.

Actually, everything looked fine, but, instead of one backup file every 7 or 15 days I got hundreds of backup files, sometimes every minute, or every few seconds new backup. I needed to empty GB's of backup files from "backup" folder.

So, finally I turned off auto backup plugin. My thought is this, when auto backup plugin is on and also cache_html is on when auto backup needs to run it adds this to html body of page:

        // 

And if cache_html plugin cache that page at that time it will serve page with that script to every visitor, so with every new load of page backup is created.

Maybe I am wrong, but I have no other explanation.

I hope this will help.

Best regards.


Zenphoto version 1.4.5.9 [12ad1f92fa] (Official build)
Theme: garland




Possible bug report - autobackup tool - acrylian - 2014-05-01

Best you file a ticket on the issue ticket and please re-try with the 1.4.6 RC1 as well. If it will be fixed it will be there. 1.4.5.x does not get any updates anymore.

Update: I just tried with the RC1 and could not reproduce it. Are you sure you have set an interval and a number of backups to keep on the auto backup options?




Possible bug report - autobackup tool - sbillard - 2014-05-01

Your analysis is correct. The page should not be cached if the ajax code is present. That will be fixed shortly.

There is a side-effect of the fix, though. If there are no un-cached page requests the backup will not get run. Probably not an issue, though, since that means the site has been static.