How do you back up Qubes 4.3?

Answer the questions put to you.

You have said that you back up to the same drive where Qubes is
installed, and that you have a single partition on that drive… You have
not said where it is you backing up - you say “storage space” but
you have never said how you created this storage space, or how you
access it in the backup.

rustybird suggested you try to backup one of the large qubes that you
know fails using the CLI tool and report the error message you see. Do
that.
Write the backup line that you use and report back the errors.

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

1 Like

qvm-backup
usage: qvm-backup [–verbose] [–quiet] [–help] [–version] [–yes]
[–profile PROFILE] [–exclude EXCLUDE_LIST
[–dest-vm APPVM] [–encrypt]
[–passphrase-file PASSPHRASE_FILE] [–compress]
[–no-compress] [–compress-filter COMPRESSION
[–save-profile SAVE_PROFILE]
[backup_location] [vms …]
qvm-backup: error: either --profile or ‘backup_location’ is required

Yes, 1x 4TB M.2 SSD

The backup is stored on the VM Backup.

It will be transferred to the external hard drive later.

QubeOS 4.3 created this storage space itself during installation.

Yes, I can access the backup.

rustybird:

Okay, sure.

Backup line:

I don’t know which backup line is being referred to here.

https://dev.qubes-os.org/projects/core-admin-client/en/latest/manpages/qvm-backup.html

http://doc.qubes-os.org/user/how-to-guides/how-to-back-up-restore-and-migrate.html

Unfortunately, I don’t understand these two links yet.

They’re still too complicated for me. I’m still having a really hard time putting together a command link that actually works properly in the end.

I’m still being very careful, because I don’t want a delete command to sneak in there and wipe out my data.

Try qvm-backup /path/to/backups qube where you should replace /path/to/backups by the full location of the directory in dom0 to store the backup file in, and qube by the name of the qube you want to back up.

(You can also put multiple qube arguments there instead of just one, e.g. qvm-backup /path/to/backups qube1 qube2 qube3 - or no qube name to back up all qubes, e.g. qvm-backup /path/to/backups)

Why has creating backups with QubesOS 4.3 become so problematic? With QubesOS 4.2, backups always worked perfectly. Backups are the most important thing, so I’d say they should always work, right?

Why can’t you combine multiple Qubes into a single backup? Why isn’t that possible anymore? It used to work without any issues before.

I’m actually surprised that this problem has been going on for three months now and there’s still no solution.

I’m not aware of any new problems with the backup system in R4.3 compared to R4.2. Whatever is happening here seems specific to your setup.

Taking a step back:

… why?

IIUC you’re having the backup system write the backup file to a VM’s storage and then (although you currently cannot get to this point) you would manually transfer the backup file to your backup drive.

Could you instead try a backup run where the backup file is written straight to your backup drive? Besides being faster, this would also sidestep any issue with not having enough free space in the VM or its underlying storage pool. (Although I’m baffled by how running out of free space would lead not only to a reboot, but then to you having to reboot a second time in order for the boot medium to be found.)

1 Like

My backup VM storage space is large enough that I can easily store over 500 GB on it. I’d like to continue storing these backups there while the backup is running. I’m also always wondering why my laptop restarts every time, even though I didn’t make any changes to it when I installed QubesOS 4.3.

This means that there’s something wrong with the qvm-backup command you’re trying to use. It’s missing a value for the backup_location argument. Please provide the exact qvm-backup command you’re trying to use, and we can help you fix it.

It all still works fine for me, including combining multiple qubes into a single backup.

What do you mean by this?
Please provide concrete details of what “storage space” you are using,
and how you access it in the backup tool.

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

It has not become problematic. As I pointed out, this isnt the first
time you have reported issues that dont seem to affect other users. It
could be hardware or wetware faults.
In this case I think that you have narrowed down the issue to specific
qubes (please correct me if I’m wrong), and these are qubes of large
size.
Please confirm that you are able to back up individual small qubes, or
groups of small qubes.
Instead of repeatedly backing up to the same volume, why not try backing
up directly to another storage device. I think you said you had one to
which you would eventually copy the backup.

I never presume to speak for the Qubes team. When I comment in the Forum I speak for myself.

bash: backup_location: Command not found.

What do you mean by that?

Please provide specific details about which “storage space” you are using

and how you access it in the backup tool.

“Storage space”

As I mentioned earlier, I perform my backup on my 4 TB M.2 SSD. I access it using “Qubes Tools” > “Backup Qubes”.

Yes, I was able to back up individual Qubes.

I’m just wondering why this was possible with QubesOS 4.2 but no longer works with QubesOS 4.3.

What is the actual VM size limit in QubesOS 4.3?

Another storage medium?

Since this worked with QubesOS 4.2, why shouldn’t it work with QubesOS 4.3?

This does not answer my question.
You said that Qubes created some volume that you use for backups.
What is that volume and how do you access it? It seems you have
misunderstood my question (again). When you use:
QubesTools → Backup Qubes
you are given options.
First you select the Qube(s) to backup.
Then you specify the Backup destination directory - First, Target qube,
Then Backup Directory or command. There is an option to open a file
browser. Whatever you do, What qube do you use, and what is the Backup
directory?

But not all of them? I though you identified some qubes with particular
sizes that you cannot backup? What sizes?

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

You said that Qubes created a volume that you use for backups.

  • Yes

What kind of volume is that, and how do you access it?

  • The volume is 800 GB, as I mentioned above.

It seems like you
My question was misunderstood (again).

  • I don’t know how to respond to that either.

If you use the following:
QubesTools → Back up Qubes, you’ll be presented with options.

  • Yes, exactly.

First, select the Qubes you want to back up.

  • Yes

Then specify the backup destination directory—first the destination Qube,

  • Yes

Then the backup directory or command.

  • Yes

There is an option to open a file.
Browser.
Whatever you do, which Qube are you using and what is the backup?

  • I enter “personal files”

Directory?

  • None

Yes, I was able to back up individual Qubes.
But not all of them?

  • Yes

I thought you had identified some Qubes with specific characteristics.

  • I didn’t understand that question.

Which sizes can’t you back up?

  • As I wrote above!

180,000.00 MiB
170,000.00 MiB
126,000.00 MiB
etc.

Can you please answer a direct question.

  1. What Target qube do you select in the backup dialog?
  2. How do you select “personal files”? Is this a directory you created?
  3. Once you have selected, you will see an entry in the “Backup directory
    or command” entry box - what is written there?

    I never presume to speak for the Qubes team.
    When I comment in the Forum I speak for myself.

Could you please answer a specific question?

  • Yes

Which destination Qube do you select in the backup dialog?

  • The 800 GB VM backup

How do you select “Personal Files”?

  • In my case, these are located in the Qube
  • VM-personal-files

Is this a directory you created yourself?

  • No
  • In a VM Qube I created myself

Once you have made your selection, an entry will appear in the “Backup Directory.”

  • Yes
  • Visible in Thunar

or the command input field – what does it say there?

  • Where can I find the command input field?

Question: What’s the problem here? The backup always stops automatically, the computer restarts, and that screen appears.