pct-rollback
restore a Proxmox LXC container to a snapshot
TLDR
SYNOPSIS
pct rollback vmid snapname [OPTIONS]
DESCRIPTION
pct rollback restores an LXC container on Proxmox VE to the disk and configuration state captured in a named snapshot. Current container state after the snapshot is discarded.Use pct listsnapshot to see available snapshot names. Rollback can require the container to be stopped depending on storage and snapshot type; check Proxmox documentation for your storage backend.
PARAMETERS
vmid
Numeric ID of the container (100–999999999)snapname
Name of the snapshot to restore--start
Start the container after a successful rollback (default: off)
CAVEATS
Rollback is destructive for changes made after the snapshot. Ensure you have selected the correct snapname. Newer snapshots may be affected when rolling back depending on storage features (for example, linear snapshot chains).
HISTORY
pct rollback is part of the Proxmox VE pct tool for managing LXC containers.
SEE ALSO
pct(1), pct-listsnapshot(1), pct-delsnapshot(1)