module documentation

Backup related commands

Function ExportInstance Export an instance to an image in the cluster.
Function ImportInstance Add an instance to the cluster.
Function ListExportFields List export fields.
Function Main Undocumented
Function PrintExportList Prints a list of all the exported system images.
Function RemoveExport Remove an export from the cluster.
Variable commands Undocumented
Variable import_opts Undocumented
Constant _LIST_DEF_FIELDS Undocumented
def ExportInstance(opts, args):

Export an instance to an image in the cluster.

Parameters
optsthe command line options selected by the user
args:listshould contain only one element, the name of the instance to be exported
Returns
intthe desired exit code
def ImportInstance(opts, args):

Add an instance to the cluster.

This is just a wrapper over GenericInstanceCreate.

def ListExportFields(opts, args):

List export fields.

Parameters
optsthe command line options selected by the user
args:listfields to list, or empty for all
Returns
intthe desired exit code
def Main():

Undocumented

def PrintExportList(opts, args):

Prints a list of all the exported system images.

Parameters
optsthe command line options selected by the user
args:listshould be an empty list
Returns
intthe desired exit code
def RemoveExport(opts, args):

Remove an export from the cluster.

Parameters
optsthe command line options selected by the user
args:listshould contain only one element, the name of the instance whose backup should be removed
Returns
intthe desired exit code
commands =

Undocumented

import_opts =

Undocumented

_LIST_DEF_FIELDS: list[str] =

Undocumented

Value
['node', 'export']