Skip to content

Conversation

plaffitt
Copy link
Collaborator

@plaffitt plaffitt commented Jun 11, 2025

I didn't configured a shorthand for the --force flag since it would conflict with the shorthand of --follow (-f). I could use -F instead but I think that for a potentially destructive action it is not that bad to always use the long form of that flag.

$ pvecontrol vm restore --help
Usage: pvecontrol vm restore [OPTIONS] VMID

  Restore a VM from a backup archive

Options:
  -t, --target NODEID    ID of the target node  [required]
  -a, --archive ARCHIVE  The archive to restore. Either the file system path
                         to a .tar or .vma file or a proxmox storage backup
                         volume identifier.  [required]
  -s, --storage STORAGE  Target storage ID where the VM's disks will be
                         created (defaults to the storage from the backup
                         configuration).
  --force                Overwrite existing VM
  -f, --follow           Wait task end
  -w, --wait             Follow task log output
  --help                 Show this message and exit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant