[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
System Management Guide: Operating System and Devices

Backing Up the System Image and User-Defined Volume Groups

Backing Up Your System

The following procedures describe how to make an installable image of your system. For more information about backing up the system, see Backing Up the System Image and User-Defined Volume Groups in the AIX Version 4.3 System Management Concepts: Operating System and Devices.

Prerequisites

Before backing up the rootvg volume group:

Before backing up a user-defined volume group:

Backing Up Your System Tasks
Web-based System Manager:    wsm backup fast path
(Backups application)

-OR-
Task SMIT Fast Path Command or File
Backing up the rootvg volume group
  1. Log in as root.
  2. Mount file systems for backup.1
    smit mountfs
  3. Unmount any local directories that are mounted over another local directory.
    smit umountfs
  4. Make at least 8.8MB of free disk space available in the /tmp directory.2
  5. Back up.
    smit mksysb
  6. Write-protect the backup media.
  7. Record any backed-up root and user passwords.
  1. Log in as root.
  2. Mount file systems for backup.1
    See mount command.
  3. Unmount any local directories that are mounted over another local directory.
    See umount command.
  4. Make at least 8.8MB of free disk space available in the /tmp directory.2
  5. Back up.
    See mksysb command.
  6. Write-protect the backup media.
  7. Record any backed-up root and user passwords.
Verify a Backup Tape3 smit lsmksysb  
Backing up a user-defined volume group4 smit savevg
  1. Modify the file system size before backing up, if necessary.5
    mkvgdata VGName
    then edit
    /tmp/vgdata/VGName/VGName.data
  2. Save the volume group.
    See
    savevg command.
Notes:
  1. The mksysb command does not back up file systems mounted across an NFS network.
  2. The mksysb command requires this working space for the duration of the backup. Use the df command, which reports in units of 512-byte blocks, to determine the free space in the /tmp directory. Use the chfs command to change the size of the file system, if necessary.
  3. This procedure lists the contents of a mksysb backup tape. The contents list verifies most of the information on the tape but does not verify that the tape can be booted for installations. The only way to verify that the boot image on a mksysb tape functions properly is by booting from the tape.
  4. If you want to exclude files in a user-defined volume group from the backup image, create a file named /etc/exclude.volume_group_name, where volume_group_name is the name of the volume group that you want to back up. Then edit /etc/exclude.volume_group_name and enter the patterns of file names that you do not want included in your backup image. The patterns in this file are input to the pattern matching conventions of the grep command to determine which files will be excluded from the backup.
  5. If you choose to modify the VGName.data file to alter the size of a file system, you must not specify the -i flag or the -m flag with the savevg command, since the VGName.data file will be overwritten.

For more information about installing (or restoring) a backup image, see Installing BOS from a System Backup in the AIX Installation Guide.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]