whats the correct syntax for qvm-backup-restore

37 views
Skip to first unread message

Dave

unread,
Jun 2, 2020, 9:01:23 AM6/2/20
to qubes-users
Hey guys,

Whats the syntax to restore a backup from an usbstick attached to sys-net(used as sys-usb) ..
is it qmv-backup-restore -d sys-net backup_location /run/media/path_to_usb/backup_file ..
or do i need to use another syntax ..?

unman

unread,
Jun 3, 2020, 12:12:59 PM6/3/20
to qubes-users
`qvm-backup-restore -d sys-net /run/media/path_to_usb/backup_file `

Dave

unread,
Jun 3, 2020, 2:45:10 PM6/3/20
to qubes-users
when i use qmv-backup-restore -d sys-net backup_location /run/media/path_to_usb/backup_file i am asked for passphrase to decrypt the backup.
Next i get an error Backup Header retrieval failed (exit code2) ... Tested the backup with the GUI and the backup restored fine ..
Any clue whats causing the error ..?

unman

unread,
Jun 3, 2020, 8:07:01 PM6/3/20
to qubes-users
Hi Dave

The convention here is not to top-post.
Please scroll to the bottom of the message before you start typing. Or
reply inline.
It only takes you seconds, makes it much easier to follow threads, and
cumulatively saves your fellow users hours.

Compare what you typed with what I suggested - dont include the
words "backup_location"

unman

Dave

unread,
Jun 4, 2020, 2:15:52 AM6/4/20
to qubes-users
sorry my bad , will reply to the proper post in the future.
i first tried without the words backup_location and still got the error.
But after renaming the original backupfilename to just backup, it worked without the words backup_location offcoarse ;-)
Thanks unman!
Reply all
Reply to author
Forward
0 new messages