backup: allow excluding online-only cloud files#4990
backup: allow excluding online-only cloud files#4990MichaelEischer merged 1 commit intorestic:masterfrom
Conversation
554229d to
1504042
Compare
|
@MichaelEischer I'm not really sure how to add tests for this one. It would require either manually setting the file attributes or somehow setting up OneDrive on Windows? |
|
There's already an option --one-file-system. Can this feature use that option, instead of introducing a new one? Or does it already have a meaning on Windows? |
Cloud files feel somewhat different: they are placeholders for files that can basically show up everywhere in the filesystem. I wouldn't really expect that |
|
@m-wild Any news on this one perhaps ? |
|
If someone is interested in taking over this PR, please just create a new PR, then I'll close this one. |
|
@m-wild @MichaelEischer I'll happily sponsor whoever wants to pick this up ;) |
|
@m-wild Do you still want to work on this ? |
Planning to pick it up over the Xmas break |
1504042 to
9b69e17
Compare
|
Ho ho ho, it's a Christmas miracle, a PR ready to review. |
Ho ho ho, ping me whenever this is merged so I can sponsor you a bit ;) |
9b69e17 to
fbe76e9
Compare
|
Have just fixed the lint issues. |
MichaelEischer
left a comment
There was a problem hiding this comment.
Thanks for updating the PR! I'm mostly happy with it except for a few nits.
fbe76e9 to
a7539ff
Compare
a7539ff to
da71e77
Compare
|
(Force pushed to fix the linter warning) |
|
Can confirm that the new option @m-wild As I suggested earlier, I'd like to sponsor you a bit. Do you have any donation system setup perhaps ? |
|
@deajan thanks for testing the beta :) I have GitHub sponsorship enabled. |
|
@m-wild Done ;) Thank you again. |
What does this PR change? What problem does it solve?
Allow excluding online-only cloud files (such as OneDrive Files On-Demand) with a switch
--exclude-cloud-filesAssuming we have the following file
test.txtin OneDrive, but not available on the deviceAttempting to backup the file with the
--exclude-cloud-filesswitch will not attempt to download the file locally, instead the file will be excluded.Was the change previously discussed in an issue or on the forum?
Closes #3697
Checklist
changelog/unreleased/that describes the changes for our users (see template).gofmton the code in all commits.