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

Added flag to skip file errors during copy #23

Merged
merged 1 commit into from
Jun 15, 2022

Conversation

sunoce
Copy link

@sunoce sunoce commented Apr 26, 2022

So in case an error occurs for one file, the file is skipped. The behavior is triggered via the method parameter skipErrorFiles.
If the parameter is set to false the behaviour is the same as before.

I have never coded go but this fix allowed me to skip files that got deleted during the backup run.
If there are better ways feel free to adjust or comment.

Signed-off-by: lhgloj1 jannic.lollert@liebherr.com

Signed-off-by: lhgloj1 <jannic.lollert@liebherr.com>
@maorfr
Copy link
Owner

maorfr commented Jun 15, 2022

thanks for contributing!

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

Successfully merging this pull request may close these issues.

None yet

3 participants