Replies: 2 comments 2 replies
-
|
I'd be really careful with such a scheme especially file backup which may be less likely to tolerate that as it uses an internal cache of which chunks it thinks you have on the storage medium. These randomly changing may cause it to throw old chunks away and start from scratch or in the worst case cause data loss. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
No ideas why backups would be corrupted if the phone was rebooted before. Ideally, find minimal steps to reproduce this behavior and export logs that show the corruption in a dedicated ticket. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Requirements
Preparing the drives
Due to the way SeedVault currently works, all the external drives need to have the same UUID (and perhaps the same label).
Chose a UUID, like
F0F0F0F0.Then do something like this for each new USB stick (assuming a working shell script in a GNU/Linux compatible system):
The order of the commands matters!
Checking the result:
Doing the backup
Attach the first drive into your phone.
Configure SeedVault to use the drive as the backup destination.
Do the first backup.
Test the backup integrity.
Eject and remove the drive from the phone, as usual.
Reboot your phone. If you do not reboot the phone and try to backup into the next USB drive, the result will be corrupted backups.
After the reboot, proceed doing the same with the second thumb drive.
Findings
Each backup procedure should happen after rebooting the phone, otherwise backups will be corrupted.
If you want to save time by copying previous backup data from one drive to another, it won't work: backup procedure succeeds, but the integrity checks (both apps and files) will fail!
Questions
Is this use case fragile? Does it goes beyond SeedVault's intended usage?
Any ideas why a reboot is needed at every backup? Is this expected or buggy behavior?
Would restores work in this scenario? While this seems to work, I did not test backup restoration from any of the drives, so I wonder whether this is supposed to work.
Could multiple phones being backed up into the same set of USB sticks?
That was not tested.
Beta Was this translation helpful? Give feedback.
All reactions