backupios – Creates an installable image of the root volume group

Synopsis

Creates a backup of the Virtual I/O Server and places it onto a file system.

Requirements

The below requirements are needed on the host that executes this module.

  • VIOS >= 2.2.5.0

  • Python >= 2.7

Parameters

file (True, str, None)

Specifies the directory on which the image is to be stored.

When mksysb=yes, specifies the file name.

mksysb (optional, bool, False)

Creates an mksysb image.

nopack (optional, list, None)

When mksysb=yes, specifies the list of files to exclude from being packed.

savevgstruct (optional, bool, True)

Specifies whether to save the volume groups structure of user-defined volume groups as part of the backupios process.

savemedialib (optional, bool, True)

Specifies whether to save the contents of the media repository as part of the backupios process.

Notes

Note

  • The backupios module backs up only the volume group structures that are activated. The structures of volumes groups that are deactivated are not backed up.

Examples

- name: Generate a backup to /home/padmin/backup directory
  backupios:
    file: /home/padmin/backup

- name: Generate an mksysb backup to /home/padmin/backup.mksysb
  backupios:
    file: /home/padmin/backup.mksysb
    mksysb: yes
    savemedialib: no
    savevgstruct: no

Return Values

msg (always, str, )

The execution message.

stdout (always, str, )

The standard output

stderr (always, str, )

The standard error

ioslevel (always, str, 3.1.0.00)

The latest installed maintenance level of the system

Status

  • This module is not guaranteed to have a backwards compatible interface. [preview]

  • This module is maintained by community.

Authors

  • AIX Development Team (@pbfinley1911)