Options available for command group proxmox-datacenter-manager-client:
--colorno|always|auto (default=auto)Control terminal color output.
--output-formattext|json|json-prettyOutput format.
--fingerprint<string>Certificate fingerprint to expect. Takes precedence over interactively trusted fingerprints. If not given, the PDM_HOST_FINGERPRINT environment variable, the fingerprint of the host's config entry, or the one remembered with the same host and port apply, in this order.
--host<string>Server to connect to, or user@realm@host triple.
--password-command<string>Command to run to get the password.
--password-file<string>File to read the password from.
--port<integer> (0 - 65535) (default=8443)Port to connect.
--user<string>User ID
proxmox-datacenter-manager-client acl delete <path> <role> --auth-id <string> [OPTIONS]
Delete an ACL entry.
<path><string>Access control path.
<role><role>Enum representing roles via their [PRIVILEGES] combination.
Since privileges are implemented as bitflags, each unique combination of privileges maps to a single, unique u64 value that is used in this enum definition.
--auth-id<string>Authentication ID
Optional parameters:
--digest<string>Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client acl list [OPTIONS]
List the ACL entries.
Optional parameters:
--exact<boolean> (default=false)If set, returns only ACL for the exact path.
--path<string>Access control path.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client acl update <path> <role> --auth-id <string> [OPTIONS]
Add or update an ACL entry.
<path><string>Access control path.
<role><role>Enum representing roles via their [PRIVILEGES] combination.
Since privileges are implemented as bitflags, each unique combination of privileges maps to a single, unique u64 value that is used in this enum definition.
--auth-id<string>Authentication ID
Optional parameters:
--digest<string>Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
--propagate<boolean> (default=true)Allow to propagate (inherit) permissions.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client help [{<command>}] [OPTIONS]
Get help about specified command (or sub-command).
<command><string>Command. This may be a list in order to specify nested sub-commands. Can be specified more than once.
Optional parameters:
--verbose<boolean>Verbose help.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client login
Log into a server.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client metric-collection status
Show metric collection status.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client metric-collection trigger [OPTIONS]
Trigger metric collection. If a remote is passed, only this remote will be collected, otherwise all.
Optional parameters:
--remote<string>Remote ID.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pbs datastore list <remote>
List the datastores of a PBS remote.
<remote><string>Remote ID.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pbs datastore rrddata <remote> <datastore> <mode> <timeframe>
Return a PBS datastore's metric data.
<remote><string>Remote ID.
<datastore><string>Datastore name.
<mode>MAX|AVERAGERRD consolidation mode
<timeframe>hour|day|week|month|year|decadeRRD time frame
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pbs node reboot <remote>
Reboot the server of a PBS remote. Asks for confirmation when run on a terminal.
<remote><string>Remote ID.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pbs node rrddata <remote> <mode> <timeframe>
Return a PBS node's metric data.
<remote><string>Remote ID.
<mode>MAX|AVERAGERRD consolidation mode
<timeframe>hour|day|week|month|year|decadeRRD time frame
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pbs node shutdown <remote>
Shut down the server of a PBS remote. Asks for confirmation when run on a terminal.
<remote><string>Remote ID.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pbs snapshot list <remote> <datastore> [OPTIONS]
List the snapshots of a PBS datastore.
<remote><string>Remote ID.
<datastore><string>Datastore name.
Optional parameters:
--ns<string>Namespace.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pbs task list <remote>
List the tasks of a PBS remote.
<remote><string>Remote ID.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pbs task log <remote> <upid> [OPTIONS]
Show the log of a task.
<remote><string>Remote ID.
<upid><string>The task UPID, optionally with the remote name prefix
Optional parameters:
--follow<boolean> (default=false)Follow the log until the task ends and fail if the task failed.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pbs task status <remote> <upid>
Query the status of a task.
<remote><string>Remote ID.
<upid><string>The task UPID, optionally with the remote name prefix
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pbs task stop <remote> <upid>
Try to stop a task.
<remote><string>Remote ID.
<upid><string>The task UPID, optionally with the remote name prefix
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve bulk hibernate <remote> [{<vms>}] [OPTIONS]
Hibernate virtual machines with the cluster-wide bulk suspend of Proxmox VE (requires pve-manager 9.0.13 or newer), which saves their memory to disk and stops them. Explicit guest IDs are passed directly to the API; --tag omits templates and containers. Proxmox VE skips containers, templates, and non-running guests, and refuses HA-managed guests.
<remote><string>Remote ID.
<vms><integer> (1 - N)The IDs of the guests to act on. Can be specified more than once.
Optional parameters:
--max-workers<integer> (1 - 64)How many guests the remote handles at the same time, instead of its default.
--tag<string>Act on the guests of the remote with this tag instead of on a list of guests (power actions omit templates). Requires Resource.Audit on the remote and asks for confirmation on a terminal.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve bulk migrate <remote> [{<vms>}] --target <string> [OPTIONS]
Migrate guests of a remote to a target node in the same cluster with the cluster-wide bulk migrate of Proxmox VE (requires pve-manager 9.0.13 or newer). Templates are included as in Proxmox VE, and guests already on the target node are skipped. By default (--online true), running virtual machines are migrated live and running containers use restart migration.
<remote><string>Remote ID.
<vms><integer> (1 - N)The IDs of the guests to act on. Can be specified more than once.
--target<string>Node name (or 'localhost')
Optional parameters:
--max-workers<integer> (1 - 64)How many guests the remote handles at the same time, instead of its default.
--online<boolean> (default=true)Enable live migration for running virtual machines and restart migration for running containers.
--tag<string>Act on the guests of the remote with this tag instead of on a list of guests (power actions omit templates). Requires Resource.Audit on the remote and asks for confirmation on a terminal.
--with-local-disks<boolean>Enable live storage migration for local disks.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve bulk shutdown <remote> [{<vms>}] [OPTIONS]
Shut down guests with the cluster-wide bulk shutdown of Proxmox VE (requires pve-manager 9.0.13 or newer). Explicit guest IDs are passed directly to the API; --tag omits templates. Proxmox VE skips templates and stopped guests; guests still running after the timeout (and paused virtual machines) are stopped unless --force-stop false is passed.
<remote><string>Remote ID.
<vms><integer> (1 - N)The IDs of the guests to act on. Can be specified more than once.
Optional parameters:
--force-stop<boolean> (default=true)Stop guests that do not shut down within the timeout.
--max-workers<integer> (1 - 64)How many guests the remote handles at the same time, instead of its default.
--tag<string>Act on the guests of the remote with this tag instead of on a list of guests (power actions omit templates). Requires Resource.Audit on the remote and asks for confirmation on a terminal.
--timeout<integer> (0 - 7200) (default=180)How many seconds to wait for a guest to shut down, if its startup settings set no shutdown timeout.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve bulk start <remote> [{<vms>}] [OPTIONS]
Start guests with the cluster-wide bulk start of Proxmox VE (requires pve-manager 9.0.13 or newer), also those not set to start at boot. Explicit guest IDs are passed directly to the API; --tag omits templates. Proxmox VE skips other running guests, except paused virtual machines which are resumed, while a running container fails its step in the task.
<remote><string>Remote ID.
<vms><integer> (1 - N)The IDs of the guests to act on. Can be specified more than once.
Optional parameters:
--max-workers<integer> (1 - 64)How many guests the remote handles at the same time, instead of its default.
--tag<string>Act on the guests of the remote with this tag instead of on a list of guests (power actions omit templates). Requires Resource.Audit on the remote and asks for confirmation on a terminal.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc config <remote> <vmid> [OPTIONS]
Query the configuration of a container.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
--snapshot<string>The name of the snapshot
--statepending|active (default=pending)Guest configuration access.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc list {<remote>} [OPTIONS]
List the LXC containers of a cluster.
<remote><string>List of remotes to query. Can be specified more than once.
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc migrate <remote> <vmid> <target> [OPTIONS]
Migrate a container to a different node in the same cluster.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
<target><string>Node name (or 'localhost')
Optional parameters:
--bwlimit<integer> (0 - N)Override I/O bandwidth limit (in KiB/s).
--map-storageFROM:TO,...Mapping of source storages to ones on the target node. Can be specified more than once.
--node<string>Node name (or 'localhost')
--online<boolean>Perform an online migration if the container is running.
--restart<boolean> (default=false)Perform a restart-migration.
--timeout<integer> (0 - N)Add a shutdown timeout for the restart-migration.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc reboot <remote> <vmid> [OPTIONS]
Reboot a container by shutting it down and starting it again, which applies pending changes.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc remote-migrate <remote> <vmid> <target> --map-bridge FROM:TO,... --map-storage FROM:TO,... [OPTIONS]
Migrate a container to a different cluster.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
<target><string>Remote ID.
--map-bridgeFROM:TO,...Mapping of source network bridges to ones on the target cluster. Can be specified more than once.
--map-storageFROM:TO,...Mapping of source storages to ones on the target cluster. Can be specified more than once.
Optional parameters:
--bwlimit<integer> (0 - N)Override I/O bandwidth limit (in KiB/s).
--delete<boolean>Delete the original container after a successful migration.
--node<string>Node name (or 'localhost')
--online<boolean>Perform an online migration if the container is running.
--restart<boolean> (default=false)Perform a restart-migration.
--target-vmid<integer> (1 - N)A guest ID
--timeout<integer> (0 - N)Add a shutdown timeout for the restart-migration.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc rrddata <remote> <vmid> <mode> <timeframe>
Return a CT's metric data.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
<mode>MAX|AVERAGERRD consolidation mode
<timeframe>hour|day|week|month|year|decadeRRD time frame
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc set <remote> <vmid> [OPTIONS]
Change the host name, notes, tags, start at boot and startup order, CPU cores, or memory and swap of a container. Changes that a running container cannot apply stay pending until it is stopped and started again.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--cores<integer> (1 - 8192)Number of CPU cores of the container.
--deletecores|cpulimit|cpuunits|swap|hostname|description|tags|onboot|startup|console|tty|cmode|protection|timezone|debugSettings to reset to their default. Can be specified more than once.
--description<string>The notes of the guest, shown as Markdown.
--digest<string>Prevent changes if the configuration file has a different digest, to avoid overwriting concurrent modifications.
--hostname<string>The host name of the container.
--memory<integer> (16 - N)Memory of the container in MiB.
--node<string>Node name (or 'localhost')
--onboot<boolean>Start the guest when the node boots.
--startup[[order=]\d+] [,up=\d+] [,down=\d+]Startup and shutdown order and delays of the guest.
--swap<integer> (0 - N)Swap of the container in MiB.
--tags<string>Tags of the guest. Delete 'tags' to remove all tags. Can be specified more than once.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc shutdown <remote> <vmid> [OPTIONS]
Shutdown a container.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc snapshot create <remote> <vmid> <snapname> [OPTIONS]
Create a snapshot of an LXC guest.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
<snapname><string>The name of the snapshot
Optional parameters:
--description<string>A textual description or comment.
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc snapshot delete <remote> <vmid> <snapname> [OPTIONS]
Delete a snapshot of an LXC guest.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
<snapname><string>The name of the snapshot
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc snapshot list <remote> <vmid> [OPTIONS]
List the snapshots of an LXC guest.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc snapshot rollback <remote> <vmid> <snapname> [OPTIONS]
Roll back an LXC guest to a snapshot (destructive: reverts disk and config to it).
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
<snapname><string>The name of the snapshot
Optional parameters:
--node<string>Node name (or 'localhost')
--start<boolean>Start the container after a successful rollback.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc snapshot update-description <remote> <vmid> <snapname> [OPTIONS]
Update an LXC snapshot's description.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
<snapname><string>The name of the snapshot
Optional parameters:
--description<string>The new description; pass an empty string to clear.
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc start <remote> <vmid> [OPTIONS]
Start a container.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve lxc stop <remote> <vmid> [OPTIONS]
Stop a container abruptly.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
--overrule-shutdown<boolean>Abort active shutdown tasks of the guest before stopping it. Requires Proxmox VE 8.2 or newer, not applicable to guests managed by HA.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve node config <remote> <node>
Query the configuration of a node, with its notes as description.
<remote><string>Remote ID.
<node><string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve node list <remote>
List all the nodes of a pve cluster.
<remote><string>Remote ID.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve node reboot <remote> <node>
Reboot a node. It first shuts down its guests, except those managed by HA, which follow the HA shutdown policy. Asks for confirmation when run on a terminal.
<remote><string>Remote ID.
<node><string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve node rrddata <remote> <node> <mode> <timeframe>
Return a PVE node's metric data.
<remote><string>Remote ID.
<node><string>Node name (or 'localhost')
<mode>MAX|AVERAGERRD consolidation mode
<timeframe>hour|day|week|month|year|decadeRRD time frame
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve node set <remote> <node> --description <string> [OPTIONS]
Change the notes of a node, which Proxmox VE keeps as its description.
<remote><string>Remote ID.
<node><string>Node name (or 'localhost')
--description<string>The notes of the node, shown as Markdown. An empty value removes them.
Optional parameters:
--digest<string>Prevent changes if the configuration file has a different digest, to avoid overwriting concurrent modifications.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve node shutdown <remote> <node>
Shut down a node. It first shuts down its guests, except those managed by HA, which follow the HA shutdown policy. Asks for confirmation when run on a terminal.
<remote><string>Remote ID.
<node><string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu config <remote> <vmid> [OPTIONS]
Query the configuration of a VM.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
--snapshot<string>The name of the snapshot
--statepending|active (default=pending)Guest configuration access.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu list {<remote>} [OPTIONS]
List the QEMU VMs of a cluster.
<remote><string>List of remotes to query. Can be specified more than once.
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu migrate <remote> <vmid> <target> [OPTIONS]
Migrate a VM to a different node of the same cluster.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
<target><string>Node name (or 'localhost')
Optional parameters:
--bwlimit<integer> (0 - N)Override I/O bandwidth limit (in KiB/s).
--force<boolean>Allow migrating a VM with local devices.
--map-storageFROM:TO,...Mapping of source storages to ones on the target node. Can be specified more than once.
--migration-network<string>CIDR of the (sub) network that is used for migration.
--migration-typesecure|insecureMigration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance.
--node<string>Node name (or 'localhost')
--online<boolean>Perform an online migration if the vm is running.
--with-local-disks<boolean>Enable live storage migration for local disks.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu reboot <remote> <vmid> [OPTIONS]
Reboot a VM by shutting it down and starting it again, which applies pending changes.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu remote-migrate <remote> <vmid> <target> --map-bridge FROM:TO,... --map-storage FROM:TO,... [OPTIONS]
Migrate a VM to a different cluster.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
<target><string>Remote ID.
--map-bridgeFROM:TO,...Mapping of source network bridges to ones on the target cluster. Can be specified more than once.
--map-storageFROM:TO,...Mapping of source storages to ones on the target cluster. Can be specified more than once.
Optional parameters:
--bwlimit<integer> (0 - N)Override I/O bandwidth limit (in KiB/s).
--delete<boolean>Delete the original VM and related data after successful migration.
--node<string>Node name (or 'localhost')
--online<boolean>Perform an online migration if the vm is running.
--target-vmid<integer> (1 - N)A guest ID
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu reset <remote> <vmid> [OPTIONS]
Reset a VM immediately, like pressing the reset button of a computer.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu resume <remote> <vmid> [OPTIONS]
Resume a paused or hibernated VM.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu rrddata <remote> <vmid> <mode> <timeframe>
Return a VM's metric data.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
<mode>MAX|AVERAGERRD consolidation mode
<timeframe>hour|day|week|month|year|decadeRRD time frame
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu set <remote> <vmid> [OPTIONS]
Change the name, notes, tags, start at boot and startup order, CPU sockets and cores, or memory of a VM. Changes that a running VM cannot apply stay pending until it is stopped and started again.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--cores<integer> (1 - N)Number of cores per socket.
--deletesockets|cores|cpu|vcpus|cpulimit|cpuunits|numa|balloon|shares|allow-ksm|name|description|tags|onboot|startup|ostype|localtime|startdate|agent|protection|autostart|keyboard|migrate_downtime|migrate_speed|reboot|tdfSettings to reset to their default. Can be specified more than once.
--description<string>The notes of the guest, shown as Markdown.
--digest<string>Prevent changes if the configuration file has a different digest, to avoid overwriting concurrent modifications.
--memory[current=<integer>]Memory of the guest in MiB or memory property string.
--name<string>The name of the guest.
--node<string>Node name (or 'localhost')
--onboot<boolean>Start the guest when the node boots.
--sockets<integer> (1 - N)Number of CPU sockets.
--startup[[order=]\d+] [,up=\d+] [,down=\d+]Startup and shutdown order and delays of the guest.
--tags<string>Tags of the guest. Delete 'tags' to remove all tags. Can be specified more than once.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu shutdown <remote> <vmid> [OPTIONS]
Shutdown a VM.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu snapshot create <remote> <vmid> <snapname> [OPTIONS]
Create a snapshot of a QEMU guest.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
<snapname><string>The name of the snapshot
Optional parameters:
--description<string>A textual description or comment.
--node<string>Node name (or 'localhost')
--vmstate<boolean>Include the VM's RAM state.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu snapshot delete <remote> <vmid> <snapname> [OPTIONS]
Delete a snapshot of a QEMU guest.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
<snapname><string>The name of the snapshot
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu snapshot list <remote> <vmid> [OPTIONS]
List the snapshots of a QEMU guest.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu snapshot rollback <remote> <vmid> <snapname> [OPTIONS]
Roll back a QEMU guest to a snapshot (destructive: reverts disk and config to it).
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
<snapname><string>The name of the snapshot
Optional parameters:
--node<string>Node name (or 'localhost')
--start<boolean>Start the guest after a successful rollback.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu snapshot update-description <remote> <vmid> <snapname> [OPTIONS]
Update a QEMU snapshot's description.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
<snapname><string>The name of the snapshot
Optional parameters:
--description<string>The new description; pass an empty string to clear.
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu start <remote> <vmid> [OPTIONS]
Start a VM.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu stop <remote> <vmid> [OPTIONS]
Stop a VM abruptly.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
--overrule-shutdown<boolean>Abort active shutdown tasks of the guest before stopping it. Requires Proxmox VE 8.2 or newer, not applicable to guests managed by HA.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve qemu suspend <remote> <vmid> [OPTIONS]
Pause a VM, or hibernate it.
<remote><string>Remote ID.
<vmid><integer> (1 - N)A guest ID
Optional parameters:
--node<string>Node name (or 'localhost')
--todisk<boolean> (default=false)Hibernate the VM: save its memory to disk and stop it, instead of pausing it. Starting the VM resumes it.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve resources <remote> [<kind>]
Query the cluster resources.
<remote><string>Remote ID.
<kind>vm|storage|node|sdnResource type.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve task list <remote> [OPTIONS]
List the tasks of a cluster.
<remote><string>Remote ID.
Optional parameters:
--node<string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve task log <remote> <upid> [OPTIONS]
Show the log of a task.
<remote><string>Remote ID.
<upid><string>The task UPID, optionally with the remote name prefix
Optional parameters:
--follow<boolean> (default=false)Follow the log until the task ends and fail if the task failed.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve task status <remote> <upid>
Query the status of a task.
<remote><string>Remote ID.
<upid><string>The task UPID, optionally with the remote name prefix
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client pve task stop <remote> <upid>
Try to stop a task.
<remote><string>Remote ID.
<upid><string>The task UPID, optionally with the remote name prefix
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client remote add <type> <id> --authid <string> --nodes [hostname=<string> [,fingerprint=<string>]] --token <string> [OPTIONS]
Add a new remote.
<type>pve|pbs (default=pve)The type of a remote entry.
<id><string>Remote ID.
--authid<string>Authentication ID
--nodes[hostname=<string> [,fingerprint=<string>]]A list of cluster node addresses. Can be specified more than once.
--token<string>The access token's secret.
Optional parameters:
--create-token<string>If given, create this token on the remote and use it.
--disable<boolean>Whether to disable this remote.
--web-url<string>Configuration for the Web UI URL link generation.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client remote delete <id> [OPTIONS]
Delete a remote.
<id><string>Remote ID.
Optional parameters:
--delete-token<boolean> (default=false)If true, deletes the API token on the remote.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client remote list
List all the remotes this instance is managing.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client remote probe-certificate <id> <node>
Re-probe a configured node's TLS certificate, ignoring the pinned fingerprint.
Useful to detect a rotated certificate. Apply the new fingerprint with remote set-fingerprint <id> <node> <fingerprint>, or clear the pin by omitting it.
<id><string>Remote ID.
<node><string>Hostname of the configured node to probe.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client remote set-fingerprint <id> <node> [<fingerprint>]
Set or clear a node's stored TLS certificate fingerprint.
Omit the fingerprint to clear the pin and rely on the system trust store. Run remote probe-certificate first to read the fingerprint the node currently presents.
<id><string>Remote ID.
<node><string>Hostname of the configured node whose fingerprint to set.
<fingerprint><string>X509 certificate fingerprint (sha256).
Inherited group parameters:
--color
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client remote status
Show the status of each remote, from the data that was last collected from it.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client remote update <id> [OPTIONS]
Update a remote.
<id><string>Remote ID.
Optional parameters:
--authid<string>Authentication ID
--deleteweb-url|disableList of properties to delete. Can be specified more than once.
--disable<boolean>Whether to disable this remote.
--nodes[hostname=<string> [,fingerprint=<string>]]A list of cluster node addresses. Can be specified more than once.
--token<string>The access token's secret.
--web-url<string>Configuration for the Web UI URL link generation.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client remote version <id>
Show a remote's version.
<id><string>Remote ID.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client resources [OPTIONS]
List the resources of all remotes.
Optional parameters:
--max-age<integer> (0 - N)Maximum age of cached remote resources.
--resource-typestorage|qemu|lxc|network|datastore|nodeType of a PDM resource.
--search<string>Search terms separated by spaces. A term is a value matched against names and IDs, or 'category:value'. Terms prefixed with '+' must all match.
--view<string>View name.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client subscriptions add-keys {<keys>} [OPTIONS]
Add one or more subscription keys to the pool.
<keys><string>Subscription keys to add to the pool. Can be specified more than once.
Optional parameters:
--digest<string>Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client subscriptions adopt-all [OPTIONS]
Adopt every foreign live subscription into the pool in one transaction.
Walks all remotes the caller can audit, imports any (remote, node) with a live current key and no pool binding. Candidates the caller has no modify privilege on, or whose key is already bound elsewhere in the pool, are silently skipped.
Optional parameters:
--digest<string>Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client subscriptions adopt-key <remote> <node> [OPTIONS]
Adopt the live subscription on a remote node into the pool.
Brings a foreign subscription under PDM management without touching the remote: the live current key on remote/node is imported as a pool entry bound to that node. Refuses if the (remote, node) target already has a pool-managed binding.
<remote><string>Remote ID.
<node><string>Node name (or 'localhost')
Optional parameters:
--digest<string>Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client subscriptions apply-pending [OPTIONS]
Push all pending key assignments to remotes as a worker task.
Blocks until the worker finishes so the operator sees the exit status of the actual push run, not just a UPID they would have to chase down by hand.
Optional parameters:
--digest<string>Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client subscriptions assign-key <key> --node <string> --remote <string> [OPTIONS]
Assign a key from the pool to a remote node.
<key><string>Subscription key.
--node<string>Node name (or 'localhost')
--remote<string>Remote ID.
Optional parameters:
--digest<string>Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client subscriptions auto-assign [OPTIONS]
Propose (and optionally apply) automatic key-to-node assignments.
Optional parameters:
--apply<boolean> (default=false)Commit the proposal immediately via bulk-assign. Without this, only a preview is printed.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client subscriptions check <remote> <node>
Trigger a fresh shop-side subscription check on a remote node.
Equivalent to the per-product "Check" button: re-verifies the live subscription status against the shop. Useful for promoting a stale Invalid/Expired verdict to Active once the underlying issue is fixed at the shop, without waiting for the next periodic check.
<remote><string>Remote ID.
<node><string>Node name (or 'localhost')
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client subscriptions clear-assignment <key> [OPTIONS]
Clear the assignment of a key (unassign from its remote node).
<key><string>Subscription key.
Optional parameters:
--digest<string>Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client subscriptions clear-key <remote> <node> [OPTIONS]
Queue a Clear Key on a remote node so its subscription can be removed at next Apply Pending.
Refuses if no pool entry is bound to (remote, node): foreign live subscriptions must first be imported via the explicit Adopt Key action, never as a side effect of queueing a clear.
<remote><string>Remote ID.
<node><string>Node name (or 'localhost')
Optional parameters:
--digest<string>Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client subscriptions clear-pending [OPTIONS]
Clear every pending assignment in one bulk transaction.
Optional parameters:
--digest<string>Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client subscriptions list-keys
List all subscription keys in the pool.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client subscriptions remove-key <key>
Remove a key from the pool entirely.
<key><string>Subscription key.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client subscriptions revert-clear <remote> <node> [OPTIONS]
Drop a queued Clear Key on a remote node while keeping the pool binding.
<remote><string>Remote ID.
<node><string>Node name (or 'localhost')
Optional parameters:
--digest<string>Prevent changes if current configuration file has different SHA256 digest. This can be used to prevent concurrent modifications.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client subscriptions status [OPTIONS]
Show the subscription status of all remotes.
Optional parameters:
--max-age<integer> (0 - N) (default=86400)Maximum age (in seconds) of cached remote subscription state.
--verbose<boolean> (default=false)If true, includes subscription information per node (with enough privileges)
--view<string>View name.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client task list [OPTIONS]
List the tasks of all remotes.
The list comes from the remote task cache. Tasks not started through the Proxmox Datacenter Manager show up once the cache is refreshed, which happens every ten minutes. With --node, only the tasks that ran on a node with that name are listed, with --vmid and --remote only the tasks of the guest with that ID.
Optional parameters:
--errors<boolean> (default=false)Only list erroneous tasks.
--limit<integer> (default=50)Only list this amount of tasks. (0 means no limit)
--node<string>Node name (or 'localhost')
--remote<string>Remote ID.
--running<boolean> (default=false)Only list running tasks.
--since<integer>Only list tasks since this UNIX epoch.
--start<integer> (default=0)List tasks beginning from this offset.
--statusfilterok|warning|error|unknownOnly list tasks which have any one of the listed status. Can be specified more than once.
--typefilter<string>Only list tasks whose type contains this.
--until<integer>Only list tasks until this UNIX epoch.
--userfilter<string>Only list tasks from this user.
--view<string>View name.
--vmid<integer> (1 - N)Only list the tasks of the guest with this ID. Requires a remote, as guest IDs are unique only within a remote.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client task log <upid> [OPTIONS]
Show the log of a remote task.
<upid><string>The task UPID with the remote name prefix, as 'task list' shows it.
Optional parameters:
--follow<boolean> (default=false)Follow the log until the task ends and fail if the task failed.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client task status <upid>
Query the status of a remote task.
<upid><string>The task UPID with the remote name prefix, as 'task list' shows it.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client task stop <upid>
Try to stop a remote task.
<upid><string>The task UPID with the remote name prefix, as 'task list' shows it.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client updates refresh
Refresh the update summary of all remotes.
Queries all remotes for their pending updates and repository status and waits until done. This does not update the package lists on the remotes.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client updates summary [OPTIONS]
Show the pending updates and the repository status of all remote nodes.
The summary shows the state of the last refresh, see 'updates refresh'.
Optional parameters:
--view<string>View name.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client user create <userid> [OPTIONS]
Create a new user.
<userid><string>User ID
Optional parameters:
--comment<string>Comment.
--email<string>E-Mail Address.
--enable<boolean> (default=true)Enable the account (default). You can set this to '0' to disable the account.
--expire<integer> (0 - N) (default=0)Account expiration date (seconds since epoch). '0' means no expiration date.
--firstname<string>First name.
--lastname<string>Last name.
--password<string>Password.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client user delete <userid>
Delete a user.
<userid><string>User ID
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client user list
List all users.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client user passwd <userid> [OPTIONS]
Change a user's password. If no password is provided, it will be prompted for interactively.
Except for root@pam, the password of the logged-in user is needed to confirm the change.
<userid><string>User ID
Optional parameters:
--password<string>Password.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client user tfa add <type> <description> [OPTIONS]
Add a TFA method to a user (currently only recovery keys and WebAuthn).
<type>totp|u2f|webauthn|recovery|yubicoA TFA entry type.
<description><string>a description for the tfa entry
Optional parameters:
--userid<string>userid
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client user tfa delete <id> [OPTIONS]
Delete a TFA entry by id.
<id><string>the tfa id to remove
Optional parameters:
--userid<string>userid
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client user tfa list [OPTIONS]
List the TFA entries of a user.
Optional parameters:
--userid<string>User ID
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user
proxmox-datacenter-manager-client user update <userid> [OPTIONS]
Change user information.
<userid><string>User ID
Optional parameters:
--comment<string>Comment.
--deletecomment|enable|expire|firstname|lastname|emailClear/reset user properties. Can be specified more than once.
--email<string>E-Mail Address.
--enable<boolean> (default=true)Enable the account (default). You can set this to '0' to disable the account.
--expire<integer> (0 - N) (default=0)Account expiration date (seconds since epoch). '0' means no expiration date.
--firstname<string>First name.
--lastname<string>Last name.
Inherited group parameters:
--color
--fingerprint
--host
--output-format
--password-command
--password-file
--port
--user