-
Notifications
You must be signed in to change notification settings - Fork 129
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
Please make sync more robust when encountering inaccessible directories or files #1040
Comments
Since the command-line tool does not appear to be working right, I tried doing this with b2sdk and it's doing the exact same thing...
|
Hey, it is a rare requirement - didn't really come up often (if ever) for the first 6 or so years since Do you have arbitrary files/directories that you have no permissions to in the directory that you are trying to back up? Because if there is a fixed list, you can use |
Unfortunately this will not work in my case. As shown in the command-line above, it is supposed to sync all of
My plan was to deploy this on many of my customer computers, so fiddling with excludes would be time-consuming and not very flexible because of the various setups. I guess I will look at moving my customers off of b2 and come up with some other solution. Some customers have been waiting for this to be resolved and are growing impatient with me. Thank you for replying Paweł! 👍 |
@mjurbanski-reef Thank you so much! 😄 |
@willbprog127 Please note that even when you feel like B2 CLI/SDK is not working as you wish it to, and consider switching service, you can use S3 compatible tools with B2 as well through https://www.backblaze.com/docs/cloud-storage-s3-compatible-api . We encourage use of the native CLI&SDK, but the option is there. That being said, we have been investigating this some more and found this to be a regression. Hence, a bugfix to SDK has been released in b2sdk==2.5.1 , which will be included in CLI next release. |
@mjurbanski-reef Thanks again. I will investigate further when I have some time. I appreciate the attention to this! 👍 |
Greetings,
While using
b2-windows
version 4.1.0 on Windows 11 (x86_64), the program dies if it encounters directories or files it doesn't have access to. This is undesirable and renders the program almost useless for some use cases. Instead of dying, it should just skip the directory or file that it can't access and move on to the next one.If this lack of robustness is by design, can you please add a command-line option to disable it?
Command-line (run in terminal as an administrator):
Here is the sample error output:
Then the program exits instead of moving on to the next directory.
While setting
--exclude-dir-regex
will help in some instances, the command-line tool should be robust enough to skip inaccessible directories or files even if no excludes are specified.Thanks. 👍
The text was updated successfully, but these errors were encountered: