Proxmox Virtual Environment: qm rollback (with examples)

Proxmox Virtual Environment: qm rollback (with examples)

Use Case 1: Rollback the state of a specific VM to a specified snapshot.

qm rollback vm_id snap_name

Motivation: You want to revert a specific virtual machine (VM) to a previously saved snapshot. This can be useful when testing new configurations or trying out different software versions, as it allows you to quickly revert to a known working state if any issues occur.

Arguments:

  • vm_id: The ID of the VM you want to rollback. This can be obtained from the Proxmox web interface or by using the pvesh command-line tool.
  • snap_name: The name of the snapshot you want to rollback to. Snapshots are created using the pvecm command-line tool or through the Proxmox web interface.

Example:

qm rollback 100 my_snapshot

Output: The state of VM 100 is rolled back to the snapshot named “my_snapshot”. The VM will be reverted to the exact state it was in when the snapshot was created, including disk contents, memory state, and any running processes.

Related Posts

Using the `pwdx` command (with examples)

Using the `pwdx` command (with examples)

The pwdx command is a useful tool for printing the current working directory of a process.

Read More
How to use the command 'opkg' (with examples)

How to use the command 'opkg' (with examples)

Opkg is a lightweight package manager used to install OpenWrt packages.

Read More
How to use the command 'rtl_sdr' (with examples)

How to use the command 'rtl_sdr' (with examples)

The ‘rtl_sdr’ command is a raw data recorder for RTL-SDR receivers.

Read More