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

Not a backup (missing .backup.metadata) #24

Open
JVMerkle opened this issue Dec 10, 2024 · 4 comments
Open

Not a backup (missing .backup.metadata) #24

JVMerkle opened this issue Dec 10, 2024 · 4 comments

Comments

@JVMerkle
Copy link

Hey,

I am on GrapheneOs 2024120400 with SeedVault 15.5.1 and it looks like there is no .backup.metadata. Is it possible that this is a legacy file? The SeedVault source code talks about a "LegacyAppBackupFile".

Best regards

@symbioquine
Copy link

I think I'm running into a similar issue. My backups from (SeedVault 15-5.1 - version code 35050010) have the following structure;

$ find . -maxdepth 3
.
./.SeedVaultAndroidBackup
./.SeedVaultAndroidBackup/4833faaf176f2e46.sv
./.SeedVaultAndroidBackup/0260d04c4cfa324fc1ce9d2a60e4d4b410028057c68fa907163733bac5d5d601
./.SeedVaultAndroidBackup/0260d04c4cfa324fc1ce9d2a60e4d4b410028057c68fa907163733bac5d5d601/93
./.SeedVaultAndroidBackup/0260d04c4cfa324fc1ce9d2a60e4d4b410028057c68fa907163733bac5d5d601/6a
./.SeedVaultAndroidBackup/0260d04c4cfa324fc1ce9d2a60e4d4b410028057c68fa907163733bac5d5d601/f6
...
./.SeedVaultAndroidBackup/0260d04c4cfa324fc1ce9d2a60e4d4b410028057c68fa907163733bac5d5d601/49
./.SeedVaultAndroidBackup/0260d04c4cfa324fc1ce9d2a60e4d4b410028057c68fa907163733bac5d5d601/8c
./.SeedVaultAndroidBackup/0260d04c4cfa324fc1ce9d2a60e4d4b410028057c68fa907163733bac5d5d601/50
./.SeedVaultAndroidBackup/0260d04c4cfa324fc1ce9d2a60e4d4b410028057c68fa907163733bac5d5d601/f4c0c0bc3ff475b2433cc0ed09c160a0c716d83e0b092030f8b693d276f98a81.snapshot

That seems to match the format described here: https://github.com/seedvault-app/seedvault/blob/6c20e52f92ba638814232a30176e2f3ccad8a0bf/doc/README.md#snapshots

However, I can't find any reference to ".snapshot" files in either this codebase nor in https://github.com/tlambertz/seedvault_backup_parser

If I'm understanding correctly, perhaps the format that utilizes the ".snapshot" files is version 2 and only version 0 & version 1 are implemented by these extractor libraries?

@fabian-thomas
Copy link

For me this happens since upgrading to lineageos 22 which in turn shipped the latest seedvault release. It seems like they changed the backup format again. So this extractor does not work with the latest version of seedvault.

@juergenhoetzel
Copy link

For me this happens since upgrading to lineageos 22 which in turn shipped the latest seedvault release. It seems like they changed the backup format again. So this extractor does not work with the latest version of seedvault.

The new format (Version 2) seems to be a complete rewrite (inspired by restic and borg2):
App backup format v2 with compression and deduplication

@fabian-thomas
Copy link

fabian-thomas commented Jan 19, 2025

seedvault-app/seedvault#104 (comment)

Maybe this is the point where the seedvault sources should be used instead for extraction. But I just have to say that I really dislike these "propietary" encrypted formats. All I want is just an unencrypted dump of the app data so that I can plug it into restic. Also because I trust my phone and my ability to set permissions.

(Directly pushing to restic would of course also work but at that point you have to support many backend)

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

4 participants