incus snapshot create
¶
创建实例快照
概要¶
描述: 创建实例快照
当使用 –stateful 时,尝试检查点实例的运行状态,包括进程内存状态、TCP 连接等。
incus snapshot create [<remote>:]<instance> [<snapshot name>] [flags]
示例¶
incus snapshot create u1 snap0
Create a snapshot of "u1" called "snap0".
incus snapshot create u1 snap0 < config.yaml
Create a snapshot of "u1" called "snap0" with the configuration from "config.yaml".
选项¶
--no-expiry Ignore any configured auto-expiry for the instance
--reuse If the snapshot name already exists, delete and create a new one
--stateful Whether or not to snapshot the instance's running state
从父命令继承的选项¶
--debug Show all debug messages
--force-local Force using the local unix socket
-h, --help Print help
--project Override the source project
-q, --quiet Don't show progress information
--sub-commands Use with help or --help to view sub-commands
-v, --verbose Show all information messages
--version Print version number
另请参见¶
incus 快照 - 管理实例快照