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 backup VMs: Selected directory do not exists or is not a directory #3594
Comments
Wild guess - some spaces in directory path? |
No spaces, directory path is: /run/media/user/$drive/Data/Backups, where $drive includes no spaces. Also reported on the mailing list: https://groups.google.com/forum/#!topic/qubes-users/crXfuSQCCbI Update: I can reproduce this on the base of an empty, unencrypted ext4 external hard disk. The directory that is not said to exist is /run/media/user/$UUID for the relevant $UUID, even though it mounted and writable in the relevant vm. Unlike the post in the forum, qvm-backup from the command line produces the same error. |
I reproduce this. In my case, I am mounting an external hard drive at /mnt/removable on my sys-usb, but I get the same error as the OP even though I was allowed to select the directory in the UI. Can we also fix the grammar: "Selected directory do not exists" should read "Selected directory does not exist" (note no plural on 'exist', and 'does not' because it's a single directory) |
The issue appears to be that the check on line 240 of qubesmanager/backup.py:
That is a local check on the dom0, instead of being a check on the VM that has the mounted disk (in my case sys-usb). As proof, I can 'cheat' this by running sudo mkdir /mnt/removable on my dom0, and then I can proceed to backup my VMs on the disk mounted on sys-usb at /mnt/removable |
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
Or update dom0 via Qubes Manager. |
Fresh install of Qubes R4.0 rc4
On attempting to back up any VM, I get the error "Selected directory do not exists or is not a directory." I am choosing a directory on an external, encrypted hard disk that definitely exists, and the disk is mounted in a VM. I am selecting it with the Nautilus window that pops up from the appropriate VM, and this is the same directory I successfully restored backups from on installing Qubes R4.0 rc4. I've tried with both an appvm and a dispvm, and get the same error.
The text was updated successfully, but these errors were encountered: