Skip to content

exclude backup from backup #657

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

Closed
rkrkrk0987 opened this issue Jun 30, 2017 · 2 comments
Closed

exclude backup from backup #657

rkrkrk0987 opened this issue Jun 30, 2017 · 2 comments
Milestone

Comments

@rkrkrk0987
Copy link

exclude backup from backup in
inc/SP/Core/Backup.class.php

replace this:
$archive->buildFromDirectory(Init::$SERVERROOT);
with this:
$archive->buildFromDirectory(Init::$SERVERROOT,'/^((?!backup).)*$/');

@nuxsmin
Copy link
Owner

nuxsmin commented Jul 24, 2017

You're right, I'll fix it in next release.

Thanks for your contribution!

@nuxsmin nuxsmin added this to the 2.1 milestone Jul 24, 2017
nuxsmin added a commit that referenced this issue Jul 25, 2017
@nuxsmin
Copy link
Owner

nuxsmin commented Jul 25, 2017

Solved

@nuxsmin nuxsmin closed this as completed Jul 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants