seedvault-app / seedvault

A backup application for the Android Open Source Project.
1.19k stars 73 forks source link

Problems with restoring a backup using WebDAV in magentaCLOUD #622

Closed dktzde closed 3 months ago

dktzde commented 4 months ago

I am using LineageOS 20 on a Pixel 3 (64 GB)

I have created a backup via WebDAV (DAVx⁵) in MagentaCLOUD (TelekomDE). No problems with the backup.

When trying to restore on the same newly installed phone, I get an error message "wrong PW or memory error" (see screenshot). I am sure I have entered my password correctly and next I am asked if I want to restore my data. As I have not created a data backup, no data is found.

What data could I provide to better understand the problem?

Screenshot_20240213-130528_Seedvault

grote commented 4 months ago

sorry, I am not sure I understand your issue.

As I have not created a data backup, no data is found.

so you have not backed up anything before?

When trying to restore on the same newly installed phone

what means newly installed phone? did you factory reset it? after backup?

What data could I provide to better understand the problem?

logcat is always helpful, so would be the content of that magenta cloud. Is there a .SeedVaultAndroidBackup folder? if so, what is in it?

dktzde commented 4 months ago

Thank you for your quick reply.

As I have not created a data backup, no data is found. sorry, I am not sure I understand your issue.

I created a backup of my applications & application data. I have not backed up my user data.

what means newly installed phone? did you factory reset it? after backup?

Before I had LineageOS. Then I wiped the phone and installed CalyxOS including factory reset.

What data could I provide to better understand the problem? logcat is always helpful, so would be the content of that magenta cloud.

Sorry I am not used to using logcat.

Is there a .SeedVaultAndroidBackup folder? if so, what is in it?

See attached screenshot. If you take a closer look, all the files are really small. Maybe there was a network problem when creating this backup.

Which brings me to another question: How can I test/know if everything went well during the backup?

signal-2024-02-14-13-23-19-937

grote commented 4 months ago

Sorry I am not used to using logcat.

It is built into seedvault. Open it, then at the top right, there's the menu, expert settings and then do log export.

If you take a closer look, all the files are really small. Maybe there was a network problem when creating this backup.

The first folder is most interesting. It is probably the magenta backup. Is there really only 1 KB worth of data inside?

grote commented 4 months ago

It looks like there may be an issue writing to that WebDAV provider. Some server-side DAV solutions may have issues. Can you copy files using your file manager to the DavX5 WebDav folder? It looks like everything that Seedvault manages to write has 0 bytes.

dktzde commented 4 months ago

I have tried to upload other files via WebDAV. These also have a size of 0 bytes. I will try to solve the problem with the support of the cloud provider.

grote commented 4 months ago

Thanks, then this is not a Seedvault issue. You may also involve the DavX5 devs as their app is probably used by other people on that cloud provider.

grote commented 4 months ago

Apparently, it was tested? https://www.davx5.com/tested-with/t-online

dktzde commented 3 months ago

See Issue at DAVx⁵ https://github.com/bitfireAT/davx5-ose/discussions/326 See Issue at Telekom: https://telekomhilft.telekom.de/t5/MagentaCLOUD/Upload-mit-DAVx5-in-die-MagentaCloud-produziert-leere-Dateien/m-p/6184427 In short: they know there is a problem. Maybe there will be a solution sometime.