Beta

Manage agent backups and restores

用法: mf backups [command]

Option

Option用途
-h, --helpdisplay help for command

Subcommand

命令用途
mf backups listList backups (optionally filter by agent)
mf backups createSnapshot an agent into a new backup
mf backups deleteDelete a backup (irreversible)
mf backups restoreRestore an agent from a backup (replaces current state)
mf backups get-restoreShow status of a restore operation

mf backups list

List backups (optionally filter by agent)

用法: mf backups list [options]

Alias: ls

Option

Option用途
--agent-id <id>filter to this agent
--jsonemit raw JSON
-h, --helpdisplay help for command

mf backups create

Snapshot an agent into a new backup

用法: mf backups create [options] <agentId>

Argument

参数用途
<agentId>

Option

Option用途
--jsonemit raw JSON (default)
-h, --helpdisplay help for command

mf backups delete

Delete a backup (irreversible)

用法: mf backups delete [options] <backupId>

Alias: rm

Argument

参数用途
<backupId>

Option

Option用途
-y, --yesconfirm irreversible deletion
--jsonoutput the result as JSON
-h, --helpdisplay help for command

mf backups restore

Restore an agent from a backup (replaces current state)

用法: mf backups restore [options] <agentId>

Argument

参数用途
<agentId>

Option

Option用途
--backup-id <id>backup id to restore from 必填。
-y, --yesconfirm replacement of current state
--jsonemit raw JSON
-h, --helpdisplay help for command

mf backups get-restore

Show status of a restore operation

用法: mf backups get-restore [options] <restoreId>

Argument

参数用途
<restoreId>

Option

Option用途
--jsonemit raw JSON (default)
-h, --helpdisplay help for command
这个页面有帮助吗?