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

Problem with backup when dot is in path #20

Closed
marvinschroeder opened this issue Jan 29, 2016 · 4 comments
Closed

Problem with backup when dot is in path #20

marvinschroeder opened this issue Jan 29, 2016 · 4 comments

Comments

@marvinschroeder
Copy link

We have a DOCUMENT_ROOT structure where the domain name is part of the path. For example: /var/www/kd/domain.com/

When the command :missing is backup'ing the files, we get an Error Exception because the path is incorrect and the permission is denied. The path generated by your script (preg_match) is like:
/var/www/kd/domain.20160129_151020.php

So i propose to change the generation of the backup directory with keeping in mind that there could be a doc root with a dot in the path.

@potsky
Copy link
Owner

potsky commented Jan 29, 2016

Hi marvinschroeder,

Thank for reporting and fortunately you have a permission denied error !

I will check this right now and publish a fix.

potsky added a commit that referenced this issue Jan 29, 2016
@potsky potsky closed this as completed in 37e2953 Jan 29, 2016
potsky added a commit that referenced this issue Jan 29, 2016
potsky added a commit that referenced this issue Jan 29, 2016
potsky added a commit that referenced this issue Jan 29, 2016
potsky added a commit that referenced this issue Jan 29, 2016
@potsky
Copy link
Owner

potsky commented Jan 29, 2016

Hi !

Ok it is fixed now, you can update the package with composer. Sorry for this ugly bug :-(

@marvinschroeder
Copy link
Author

Thanks! It's working now! Great package!

@potsky
Copy link
Owner

potsky commented Feb 1, 2016

Thank you!

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