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

0 bytes file on S3 #44

Closed
andriytkachiv opened this issue Sep 5, 2015 · 8 comments
Closed

0 bytes file on S3 #44

andriytkachiv opened this issue Sep 5, 2015 · 8 comments

Comments

@andriytkachiv
Copy link

Hi, I am using your great plugin with S3 filesystems. From some times when I have 3500 files zipped in backup it fails to upload it on S3 without any error. ZIp file on S3 has 0 bytes. php artisan backup:run doesn't show any error, it returns success.
I have enough space on s3 (it is empty right now)
When I upload only mysql db without files (changed it in config) everything works.

Do you know what could cause it?

Regards

@freekmurze
Copy link
Member

I don't know the reason why this would fail.

Could you please check if the backup contains 0 bytes when using the local filesystem? Are you sure that you've correctly setup the included and excluded files and directories in the config file?

@andriytkachiv
Copy link
Author

@freekmurze
It is set corrected. When there was less files it worked as a charm.
It's a pity but local also fails right now :(

screenshot from 2015-09-05 22 54 52

@freekmurze
Copy link
Member

Can you see an error in the log files?

@andriytkachiv
Copy link
Author

No, there is no errors

@freekmurze
Copy link
Member

I'm not aware of any restriction on how many files this package can backup. I suspect there's something wrong at your end. Of course I cannot be 100% sure.

Could you try setting the package up in a way so it'll have to backup less files? Let me know if that works.

@andriytkachiv
Copy link
Author

I tried it, yes it works with less files.

@freekmurze
Copy link
Member

I'm trying to recreate your problem by backupping 5000 files on my local system and it worked without any problem.

Can you tell me how MB you are trying to backup? Does the zipping the files take an unusual amount of time? Can you make sure your disk isn't full?

@andriytkachiv
Copy link
Author

Holy cow.. You made my day! The problem was with free size on disk, because plugin doesn't remove temp files. I suggest to add error throwing in case of lack of space.

Thanks for helping!

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