-
Notifications
You must be signed in to change notification settings - Fork 71
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
Google Device Backup: After restoring the backup to a new phone, it resulted in 2 phones having the same device ID #999
Comments
Hi , This is only applicable if you replace phone A by B. What should happen instead? I think you should setup your new device with syncthing from scratch. We'll never know if it's replace or a new node intended. |
Exactly. So one way to do this would be to entirely disable backups from the app. Or a new flag gets introduced that gets persisted, but not backed up. |
Okay, this sounds reasonable. We can do this if someone has motivation to do a pr and experiment with the Google backup feature . I don't use this feature myself. |
Same issue. Is it possible to just generate a new device ID? |
Yes it's possible. |
I should have been more exact, how can one change the device ID on the Android app? |
Description of the issue
I used Syncthing-fork on my Android Phone A. This one is backup up with the built-in Google Backup system.
Today I set up my new phone B, which restored the backup from phone A.
Turns out that Syncthing-fork in my opinion backs up too much data and automatically restores it. It saved the folder and the remote device, that was set up on Phone A. So far so good.
But it also backed up & restored the device ID. I was not sure what exactly happened, but clearly Syncthing was not happy with 3 devices, 2 of them having the same device ID :D.
Reproduction Steps
Version Information
Further Information
Check the bacup & restore testing documentation at https://developer.android.com/guide/topics/data/testingbackup
The text was updated successfully, but these errors were encountered: