Beta

Manage agent backups and restores

Usage: mf backups [command]

Options

OptionsPurpose
-h, --helpdisplay help for command

Subcommands

CommandPurpose
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)

Usage: mf backups list [options]

Aliases: ls

Options

OptionsPurpose
--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

Usage: mf backups create [options] <agentId>

Arguments

ArgumentPurpose
<agentId>

Options

OptionsPurpose
--jsonemit raw JSON (default)
-h, --helpdisplay help for command

mf backups delete

Delete a backup (irreversible)

Usage: mf backups delete [options] <backupId>

Aliases: rm

Arguments

ArgumentPurpose
<backupId>

Options

OptionsPurpose
-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)

Usage: mf backups restore [options] <agentId>

Arguments

ArgumentPurpose
<agentId>

Options

OptionsPurpose
--backup-id <id>backup id to restore from Required.
-y, --yesconfirm replacement of current state
--jsonemit raw JSON
-h, --helpdisplay help for command

mf backups get-restore

Show status of a restore operation

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

Arguments

ArgumentPurpose
<restoreId>

Options

OptionsPurpose
--jsonemit raw JSON (default)
-h, --helpdisplay help for command
Was this page helpful?