LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pct-clone

creates a copy of an existing Proxmox LXC container

TLDR

Clone a container (linked clone by default)
$ pct clone [template_id] [new_id]
copy
Clone with custom hostname
$ pct clone [template_id] [new_id] --hostname [name]
copy
Create a full (independent) copy
$ pct clone [template_id] [new_id] --full
copy
Clone to a specific storage
$ pct clone [template_id] [new_id] --full --storage [storage_name]
copy
Clone with a descriptive note
$ pct clone [template_id] [new_id] --description "[note]"
copy

SYNOPSIS

pct clone vmid newid [OPTIONS]

DESCRIPTION

pct clone creates a copy of an existing Proxmox LXC container. This is useful for creating multiple containers from a configured template container or for backup purposes.

PARAMETERS

vmid

The numeric ID of the source container
newid
The numeric ID for the cloned container
--hostname name
Set a custom hostname for the clone
--full
Create a full copy instead of linked clone
--target node
Target node for the clone
--storage storage
Storage for the clone's disks

CAVEATS

The source container should be stopped for a consistent clone. Linked clones share base storage with the original. Full clones are independent but require more disk space.

HISTORY

pct clone is part of the Proxmox VE virtualization platform for managing LXC containers.

SEE ALSO

pct(1), pct-create(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid