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

Restoring backup fails #103

Open
Klaasstap opened this issue Jan 31, 2024 · 4 comments
Open

Restoring backup fails #103

Klaasstap opened this issue Jan 31, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Klaasstap
Copy link

Klaasstap commented Jan 31, 2024

Device info

Manufacturer: Motorola
Android version: 10
Custom ROM/rooted? yes
Model: G3

System info

<Linux Ubuntu 22.04>
Available disk space:
Operating system:


I try to restore a backup to another device.
It's strange. When I try to restore from this backup, using the command backup.sh, I have to select the same options as when I do a backup: tar or adb, hooks yes/no; I also have to select an erase method for the temporary files, but they have already been wiped when I made the backup. When I eventually select RESTORE and select the backup file, I get the message: file doesn´t exist. But it does. What am I doing wrong?

@Klaasstap Klaasstap added the bug Something isn't working label Jan 31, 2024
@Klaasstap
Copy link
Author

openandroidbackup-2024-01-31_17.17.59.mp4

@Klaasstap
Copy link
Author

Klaasstap commented Jan 31, 2024

Should the first question when giving the command backup.sh not be: what to do: backup or restore?

@Klaasstap
Copy link
Author

With the phone I created the backup for, I get the same output when restoring: file or directory doesn´t exist.

@mrrfv
Copy link
Owner

mrrfv commented Feb 2, 2024

You need to remove the apostrophes (') as well as any spaces from the file path, so instead of e.g. '/home/myuser/backup.7z' it should be /home/myuser/backup.7z. If that doesn't work, try placing the backup file in a directory with no spaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants