Skip to content

Error on new backup - snapshot is from a different archive #48

@scallyob

Description

@scallyob

I created a backup with wyng-util-qubes on an old machine, restored the VMs to a new machine, then tried to create the same backup on my new machine. After creating it successfully I run:

sudo wyng-util-qubes backup <qube1> <qube2> <qube3> --dest=qubes://sys-usb/media/backups/machines.backup

after typing in the password I get:

Preparing snapshots in '/dev/qubes_dom0/'...
  Skipping vm-<qube1>-private; snapshot is from a different archive. Use --remap to clear it.
  Skipping vm-<qube1>-root; snapshot is from a different archive. Use --remap to clear it.
  Skipping vm-<qube2>-private; snapshot is from a different archive. Use --remap to clear it.
  Skipping vm-<qube2>-root; snapshot is from a different archive. Use --remap to clear it.
  Skipping vm-<qube3>-private; snapshot is from a different archive. Use --remap to clear it.
  Skipping vm-<qube3>-root; snapshot is from a different archive. Use --remap to clear it.

Sending backup session 20250506-113848:
——————————————————————————————————————————
      0.1MB |  1s | wyng-qubes-metadata

Error on volumes: vm-<qube1>-private, vm-<qube1>-root, vm-<qube2>-private, vm-<qube2>-root, vm-<qube3>-private, vm-<qube3>-root

Traceback (most recent call last):
  File "/usr/local/bin/wyng-util-qubes", line 821, in <module>
    wq_context.backup()
  File "/usr/local/bin/wyng-util-qubes", line 724, in backup
    res = _do_backup(self, vms or self.selected)   ; self.close()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/bin/wyng-util-qubes", line 276, in _do_backup
    p = run(wyng_cmd, stdout=sys.stdout, stderr=sys.stderr)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/bin/wyng-util-qubes", line 181, in run
    raise RuntimeError(text)
RuntimeError: Error code 2

If I do:

sudo wyng diff <qube1> --remap --dest=qubes://sys-usb/mylocation...

It says "Volume not found", which makes sense as I haven't run a backup yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions