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

NetHood, PrintHood, etc. #20

Open
cheitzig opened this issue Dec 28, 2018 · 8 comments
Open

NetHood, PrintHood, etc. #20

cheitzig opened this issue Dec 28, 2018 · 8 comments

Comments

@cheitzig
Copy link

I'm a new duplicacy user, and trying to debug / eliminate warnings in the logfiles.

I'm using the GUI, but I think the same thing would apply if I was using the CLI. I added your list of filters to my .duplicacy directory.

Filter like this don't seem to work when in VSS mode on Windows:

e:(?i)^[^/]+/Users/[^/]+/\.?NetHood/

For example, I get these two WARN messages in my logs:

2018-12-27 20:31:08.143 WARN LIST_FAILURE Failed to list subdirectory: open C:\Users\Charlie/.duplicacy\shadow\\Users\Charlie/NetHood: Access is denied.
2018-12-27 20:31:08.873 WARN LIST_FAILURE Failed to list subdirectory: open C:\Users\Charlie/.duplicacy\shadow\\Users\Charlie/PrintHood: Access is denied.

and

2018-12-27 22:21:25.198 WARN SKIP_DIRECTORY Subdirectory NetHood/ cannot be listed
2018-12-27 22:21:25.199 WARN SKIP_DIRECTORY Subdirectory PrintHood/ cannot be listed

I don't know regex well enough to repair, but would be willing to try with whatever advice you might provide?

@NiJoao
Copy link
Contributor

NiJoao commented Dec 28, 2018 via email

@cheitzig
Copy link
Author

I'm using the GUI, so I believe I must be using path_mode. I originally was going to use the GUI and create a directory with a bunch of symlinks to my other locations, but then I realized that the GUI supports multiple jobs, so I just created one job per directory for my initial testing (three directories).

I didn't realize why there are two versions of the filter files in the GitHub repository. I believe I was using the one named "filter", and I just switched to the one named "filter_root".

Is that correct? I guess I'll maybe know myself in 14 minutes when my backup next runs.

@NiJoao
Copy link
Contributor

NiJoao commented Dec 28, 2018 via email

@cheitzig
Copy link
Author

cheitzig commented Dec 29, 2018

I'll give some thought to how to name the files. What comes to mind is something like filter.useForSymbolicLinkMode vs. filter.useForRegularFolderMode (or something like that).

I don't think the new filter did work though. I definitely made the change in the filter file, but when I went back to look just now, it's reverted. So maybe I need to stop and re-start the service or something?

I would say it still didn't work-- I reset to have the backup start at 8:26pm, using the GUI, but I didn't stop/restart the service. Here's the relevant entries from the filters file (copied from filter_root):

e:(?i)^Users/[^/]+/\.?NetHood/
e:(?i)^Users/[^/]+/\.?oracle_jre_usage/
e:(?i)^Users/[^/]+/\.?PrintHood/

And these lines in the log:

2018-12-28 20:27:08.292 WARN LIST_FAILURE Failed to list subdirectory: open C:\Users\Charlie/.duplicacy\shadow\\Users\Charlie/NetHood: Access is denied.
2018-12-28 20:27:08.635 WARN LIST_FAILURE Failed to list subdirectory: open C:\Users\Charlie/.duplicacy\shadow\\Users\Charlie/PrintHood: Access is denied.
2018-12-28 20:27:13.036 WARN SKIP_DIRECTORY Subdirectory NetHood/ cannot be listed
2018-12-28 20:27:13.036 WARN SKIP_DIRECTORY Subdirectory PrintHood/ cannot be listed

Am I doing something wrong?

As a side note, I think we'd also want to exclude these lines:

2018-12-28 20:26:36.560 WARN LIST_LINK Failed to read the symlink AppData/Local/Microsoft/WindowsApps/MicrosoftEdge.exe: Unhandled reparse point type 8000001b
2018-12-28 20:26:36.562 WARN LIST_LINK Failed to read the symlink AppData/Local/Microsoft/WindowsApps/Microsoft.MicrosoftEdge_8wekyb3d8bbwe/MicrosoftEdge.exe: Unhandled reparse point type 8000001b
2018-12-28 20:26:37.163 WARN LIST_LINK Failed to read the symlink AppData/Local/Packages/Microsoft.Microsoft3DViewer_8wekyb3d8bbwe/LocalCache: Unhandled reparse point type 80000018
2018-12-28 20:26:38.652 WARN LIST_LINK Failed to read the symlink AppData/Local/Packages/ReaderNotificationClient_e1rzdqpraam7r/LocalCache: Unhandled reparse point type 80000018

@cheitzig
Copy link
Author

Side note: is symbolic link mode preferable? Certainly seems easier to manage. But we should figure this out for both use cases.

@TheBestPessimist
Copy link
Owner

TheBestPessimist commented Dec 29, 2018

That is an open debate here :D
We need suggestions.

Yep, suggestions are welcome.
About your problem: NetHood and ProntHood may be wrong, because it seems they don't work on my pc either (although i have a weirder setup).

There seems to be something different in the way duplicacy works in the GUI:

2018-12-28 20:27:08.292 WARN LIST_FAILURE Failed to list subdirectory: open C:\Users\Charlie/.duplicacy\shadow\\Users\Charlie/NetHood: Access is denied.

You see that in there it uses the full path of the folders: C:\Users\Charlie/.duplicacy\shadow\\Users\Charlie/NetHood

While in the second log entry:

2018-12-28 20:27:13.036 WARN SKIP_DIRECTORY Subdirectory NetHood/ cannot be listed

it only talks about Subdirectory NetHood/ as if there's no other path (nor relative, nor full).

That's a little weird.

The problem is that i didn't test my filters with the web-gui so they may not work properly.


One of these days ( though not sure when as the new year tom-and-jerry party is coming soon ) i will install the gui beta and test it myself. During that time i will also update the filters file.

@cheitzig
Copy link
Author

Thanks! I'm not sure if I'll use the GUI long-term, but figured it was a good place to start.

@TheBestPessimist
Copy link
Owner

TheBestPessimist commented Jan 31, 2019

@cheitzig i still haven't tried duplicacy web but i have modified quite a lot the filters. Could you please try again to run the backup with the updated filters and tell me the status?

(this is also a validation for me that the filters naming is improved)

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

3 participants