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

Can't choose backup directory #112

Open
794 opened this issue Apr 3, 2024 · 3 comments
Open

Can't choose backup directory #112

794 opened this issue Apr 3, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@794
Copy link

794 commented Apr 3, 2024

Once I reach the stage in the script where it says, "A graphical directory chooser dialog will be open. You will be prompted for the backup location. Press Enter to continue."

When I press enter it says, "Can't find directory ' ' " (Blank)

From there I can only quit. It's not opening any GUI to select a backup directory.

@794 794 added the bug Something isn't working label Apr 3, 2024
@mrrfv
Copy link
Owner

mrrfv commented Apr 3, 2024

What operating system are you using? Do you have zenity installed, and if yes, what version?
As a workaround, you can set the archive_path environment variable to the the directory where you want to save your backup, for example:

archive_path="/home/me/backups" ./backup.sh

@794
Copy link
Author

794 commented Apr 4, 2024

Windows 10 v2004. I don't have zenity, haven't heard of it, what does it do?

Is there a way to set the archive path in the Windows version?

@mrrfv
Copy link
Owner

mrrfv commented Apr 4, 2024

Zenity is a program used to show a user-friendly file or directory chooser. It is automatically installed by the backup-windows.ps1 script.
The script is supposed to fall back to showing traditional command-line dialogs if zenity is not installed.
Setting environment variables on Windows isn't currently supported and requires you to modify backup.sh to include your own settings.

The problem is likely caused by your old Windows 10 version, that reached out of service about 2 years ago. It doesn't support technologies used by Open Android Backup, including WSLg. Updating your installation should fix this.

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