Skip to main content

Backup Management Overview

Backup Overview

Backup refers to the management of backup images for data or system volume groups on a logical partition (LPAR). It uses the mksysb or savevg commands to create backup images of a volume group either in a file or onto a device. The module also uses restvg or alt_disk_mksysb to restore a backup image to disk(s).

Backup Management

The backup module manages backup images of data or system volume groups on a logical partition (LPAR). It uses the mksysb or savevg commands to create backup images of a volume group either in a file or onto a device. The module also uses restvg or alt_disk_mksysb to restore a backup image to disk(s).

System Volume Groups

mksysb and alt_disk_mksysb operate on system volume groups, creating and restoring installable backup images.

Data Volume Groups

savevg and restvg operate on data volume groups, managing the backup and restoration of these groups.

Example: Creating a Backup

This example demonstrates how to create a backup of the root volume group (rootvg) using the mksysb command.


The following code snippet shows how to use the backup module to create a backup of the root volume group (rootvg) with the mksysb command. The backup is stored at /tmp/backup_rootvg.

- name: backup the rootvg with mksysb
backup:
action: create
type: mksysb
location: /tmp/backup_rootvg
exclude_files: false
extend_fs: true

 

This is an auto-generated document by Swimm 🌊 and has not yet been verified by a human