Replies: 1 comment 1 reply
-
I think that every 5 minutes is a very short time, maybe the jobs are overlapping, maybe the completion of a backup deletes all the data from another |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I configured my laravel application to be able to backup my DB and send a copy to drive, I put everything in a cron job to ensure that an updated copy of the backup is sent every 5min. Everything works only that every 2/3 backups performed correctly one fails returning me in the mail that it failed
Excaption message: fopen(/home/fjievefd/[beta.wearepoint.net/storage/app/backup-temp/temp/2023-03-22-17-00-07.zip](http://beta.wearepoint.net/storage/app/backup-temp/temp/2023-03-22-17-00-07.zip)): Failed to open stream: No such file or directory
In the log file I found:
[2023-03-22 17:40:52] production.ERROR: fopen(/home/fjievefd/beta.wearepoint.net/storage/app/backup-temp/temp/2023-03-22-17-20-09.zip): Failed to open stream: No such file or directory {"exception":"[object] (ErrorException(code: 0): fopen(/home/fjievefd/beta.wearepoint.net/storage/app/backup-temp/temp/2023-03-22-17-20-09.zip): Failed to open stream: No such file or directory at /home/fjievefd/beta.wearepoint.net/vendor/spatie/laravel-backup/src/BackupDestination/BackupDestination.php:82)
Stacktrace:
I understood that the application cannot find the temporary backup, but I don't understand why and above all how to solve this problem. If anyone has an idea how to do it please help me.
Beta Was this translation helpful? Give feedback.
All reactions