Documente Academic
Documente Profesional
Documente Cultură
• Types of backup:
example TSM
– Volume group
• mksysb utility which records an image backup of the operating system
• savevg utility which performs a full backup of a user-created VG
– Full
• Backs up all specified data
– Incremental
• Records changes since previous backups
© Copyright IBM Corporation 2009
System image backup
IBM Power Systems
logical_volume_policy:
SHRINK= no
EXACT_FIT= no
• From the SMS Menu, boot the system from the tape device.
• Restore mksysb image from the device, that is, tape
(/dev/rmt0), as follows:
Welcome to Base Operating System
Installation and Maintenance
Type the number of your choice and press Enter. Choice is indicated by >>.
1 Start Install Now With Default Settings
>> 2 Change/Show Installation Settings and Install
3 Start Maintenance Mode for System Recovery
4 Configure Network Disks (iSCSI)
5 Select Storage Adapters
Please wait...
Please wait...
• AIX
– Backup and restore
• Compression Utilities
– Compress, restore using uncompress or zcat
– gzip, restore using gunzip
# cd /home/aix
# find . | backup -iqvf /backup/aix.backup
List files
# cat /etc/dumpdates
/dev/rfslv00 1 Tue Oct 21 15:45:21 2008
/dev/rfslv00 0 Tue Oct 21 15:40:54 2008 Incremental backup
Backup history
# compress -v /tmp/data.tar
/tmp/data.tar: Compression: 95.50% This file is replaced
with /tmp/data.tar.Z.
# uncompress /tmp/data.tar.Z
/tmp/data.tar.Z: This file is replaced with /tmp/data.tar.
zcat, expands a
# zcat /tmp/data.tar.Z | tar -xvf - compressed file to
standard out.
# gunzip -v /tmp/data.tar.gz
/tmp/data.tar.gz: 97.7% -- replaced with
/tmp/data.tar
Creates a
compressed
# tar -cvf - /data | gzip -c > data_tar.gz
tarball (.tar.gz)
of the /data
# gunzip -c data_tar.gz | tar xvf - directory.
Decompresses and
extracts the
compressed tarball
(.tar.gz).
4. True or False: smit mksysb backs up all file systems, provided they
are mounted.
________________________________________________
_________________________________________________________
3. Which command could you use to restore these files? The files were
backed up using the backup command so you would have to use the
restore command.
4. True or False: smit mksysb backs up all file systems, provided they
are mounted. mksysb only backs up rootvg file systems. To back up
other volume groups, you must use the savevg command.
© Copyright IBM Corporation 2009
Exercise 11
IBM Power Systems