Open Suncatcher opened 2 years ago
After re-inspecting the account again, I can add that those 19 messages that were skipped (50 out of 69 were processed only) were most likely duplicates that already existed on the target with this label. This is very related to the issue #378 I created earlier. GYB now does not understand and cannot handle duplicates on target. This can be added in future versions as an improvement.
Please confirm the following:
I have upgraded to the latest GYB release from https://github.com/jay0lee/got-your-back/releases and I still have this issue. Yes
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/got-your-back/wiki Yes
Full steps to reproduce the issue:
gyb --email target@gmail.com --action estimate --search "label:SomeLabel"
gyb --email target@gmail.com --action restore --local-folder GYB-GMail-Backup-source@gmail.com --label-restored "SomeLabel"
gives warning on every messageExpected outcome (what are you trying to do?):
All messages imported successfullly to label SomeLabel
Actual outcome (what errors or bad behavior do you see instead?):
Only 50 messages were imported into the label out of 69
So the script doesn't allow importing messages to the label that already exists and doesn't imports correctly. Please, fix it.