Skip to content
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

tmp files bug/feature #70

Closed
remcodn opened this issue Feb 8, 2016 · 3 comments
Closed

tmp files bug/feature #70

remcodn opened this issue Feb 8, 2016 · 3 comments

Comments

@remcodn
Copy link

remcodn commented Feb 8, 2016

We use laravel-backup with an external file system to backup our DB. The package dumps the db file to the systems tmp dir "sys_get_temp_dir()"

But when an external file system fails to connect the files in the tmp dir will stay, maybe there should be build a fail safe to remove the TMP files when file movement fails.

In our case we noticed our SSD getting filled up very fast all of a sudden, after taking a look we had 22GB of tmp DB files because our backup FTP went offline for a couple of hours.

@freekmurze
Copy link
Member

I did some work on the clean up of temporary files a few months ago. Are you using the latest version of the package?

@remcodn
Copy link
Author

remcodn commented Feb 8, 2016

Currently where on "spatie/laravel-backup": "^2.8",

So seeing the change logs ill update first!

@freekmurze
Copy link
Member

Reopen if you still have this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants