-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Getting an error when simulate #113
Comments
Same backup without simulate works fine. |
What kind of backup is causing the problem? <backup type="???"> Can you please provide the backup configuration? <backup>
...
</backup> |
Would be great if you could remove all extra configuration |
I was able to debug the problem to the cleanup code.
Not sure where did I get the value field, maybe docs. I am sure I read about that somewhere. This code works fine without simulate option and it worked fine with simulate on 4.X version. |
Thanks for taking the time to debug this |
Is the least I can do. Happy to help on what I can. :) |
One more thing, I only have that cleanup option with a tar backup. |
There was an error if the 'deleteTarget' option was activated during simulation. The target is getting added to the files to delete list and the Cleaner was trying to get the MTime and Size from a file that doesn't exist. To fix this we deactivate the option during simulation and add some hints to the output, that the target will be deleted as well.
I just released version 5.0.4 with a fix for this issue ;) |
I am getting this error on a simulate.
Testing right now the backup to see if I have the same issue.
Exception 'RuntimeException' with message 'SplFileInfo::getMTime(): stat failed for /****/filesbackup.xxx' in phar:///usr/local/bin/phpbu/Backup/File.php:94
The text was updated successfully, but these errors were encountered: