Sponsored Content
Operating Systems AIX AIX 7.2 MKSYSB Backup and Restore Best Practices? Post 303033848 by c3rb3rus on Friday 12th of April 2019 10:57:11 AM
Old 04-12-2019
AIX 7.2 MKSYSB Backup and Restore Best Practices?

Hello,

Running AIX 7.2 on Power9 bare-metal (no LPAR and no NIM server), in the process of creating a guide on MKSYSB process.

I understand that MKSYSB is a backup of the rootvg and we can exclude stuff via exclude.rootvg file, the rest of the data volumes are mapped to the system as LUNs via multi-path FC connection to a SAN and that is backed up separately. The rootvg does not boot off SAN, it has two internal NVMe disks.

In the event that rootvg is corrupt and we need to restore rootvg , the process would be to modify the bootlist and reboot into SMS via SSH/Console or using the ASMI service processor.

Are there any critical steps we need to do pre or post-rootvg restore?
  • Currently the rootvg is mirrored, once restored will it remain mirrored?
  • Will i need to mess with the bootlist at all?
  • Will the configuration of the external filesystems be preserved and mounted ready to use (if set to auto-mount at boot)?
  • Running a power system in 24x7 prodution after a MKSYSB restore is viable or should one plan for a fresh re-install of AIX from install media at some point?
  • Does one need access to AIX 7.2 install media at any point during a MKSYSB restore?

The Power9 system has a LTO tape library which is where I was going to write the MKSYSB backup to and boot off, there is no CD-ROM but there is USB - is it possible to boot MKSYSB off USB? Any cons or pros going with tape vs. USB? Most of the guides out there refer to a tape or dvd, though many of them were written years ago.

My plan is to learn from experience and create a MKSYSB via mksysb -iev /dev/rmt0, corrupt rootvg by rm -rf /etc, and reboot. I am pretty sure it will become very unhappy with a missing /etc - so proceed with another reboot (via FPO using Control Panel or ASMI) and boot to SMS for a MKSYSB restore.

Mainly looking for best practices / tips / suggestions around the process.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

AIX + backup or mksysb (yes i did a search)

Whats up guys. I dont ask many questions but this time i need a quick one answerd. NOS: AIX 4.3.3 and 4.3.2 BOX: RS/6000 F50 i have 12 pv's (mirrored) and 2 vg's and i want them both backed up @ once on one tape drive so i can do it via cron. I have looked at mksysb and backup. my main... (5 Replies)
Discussion started by: Optimus_P
5 Replies

2. AIX

mksysb restore errors

goodafternoon people. here are a couple of error messages I get during restore of mksysb from a AIX F80 to a F50. I have verified blocksize and have set them to 1024 which matches both the systems. backup system is F80 and restore system is F50. Both are 4.3.3 ML10 level Upon executing via... (1 Reply)
Discussion started by: Student37
1 Replies

3. AIX

AIX backup --> Linux Restore

Hi all, I have a large number of backup tapes which were originally written with the AIX "backup" command. I now need to convert these to "tar" format, but unfortunately I no longer have access to an AIX machine. I have been able to connect the old tape drive (3590) to a Linux box and it works... (2 Replies)
Discussion started by: jauru
2 Replies

4. AIX

AIX backup and restore

Hello, Some background so you can see what I'm trying to do on AIX: In Windows its possible to partition a single hard drive into 2 separate logical paritions which may appear as a C and a D drive. It is then possible to to use 3rd party software such as Power Quest Drive Image to create a... (3 Replies)
Discussion started by: quickfirststep
3 Replies

5. AIX

AIX 5.2 Maksysb Image backup/restore

Hello, I am new to AIX, as I was primarily working on HP-UX servers. We have some production servers and a couple of lab servers. We have upgraded over 40 servers from 5.2 to 5.3 running a particular application(1) using the golden 5.3 upgraded servers copy of makesysb. We have only two... (3 Replies)
Discussion started by: dayinthelife
3 Replies

6. AIX

How to list files in AIX 3.2 mksysb backup tape

Hi, Can anyone tell how to list files in a AIX 3.2 mksysb backup tape. Thanks! Victor Cheung (4 Replies)
Discussion started by: victorcheung
4 Replies

7. AIX

mksysb restore - Wrong OS level for restore

Hi all, I am still working on my mksysb restore. My latest issue is during an alt_disk_install from tape I got the following error after all the data had been restored. 0505-143 alt_disk_install: Unable to match mksysb level 5.2.0 with any available boot images. Please correct this... (0 Replies)
Discussion started by: pobman
0 Replies

8. AIX

How to restore from mksysb backup

system is not booting ... i want to restore from mksysb backup. (2 Replies)
Discussion started by: AIXlearner
2 Replies

9. AIX

[Tip] Backup and restore on AIX

Pretty penny's. Just remember that mksysb and savevg are just front-ends for backup. In other words, backups on AIX are organized by volume groups. mksysb is specialized for rootvg and savevg is used for other volume groups. Ignoring that rootvg also creates files needed to boot a system... (1 Reply)
Discussion started by: MichaelFelt
1 Replies

10. AIX

Cloning a system via mksysb backup from one system and restore to new system

Hello All, I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance. Please use CODE tags for sample input, sample output, and for code... (4 Replies)
Discussion started by: gull05
4 Replies
GPODDER-BACKUP(1)						   User Commands						 GPODDER-BACKUP(1)

NAME
gpodder-backup - Backup and restore utility for gPodder user data SYNOPSIS
gpodder-backup [--create|--extract] <archive.gpo.tar.gz> [options] gpodder-backup --purge DESCRIPTION
This utility can be used to create a dump of the current gPodder data (configuration files + downloads), optionally replacing the real con- tents of the download folder with zero-byte files (for submitting your data to a bug report without having to transfer lots of data). OPTIONS
--version show program's version number and exit -h, --help show this help message and exit -c <FILE>, --create=<FILE> Create a new archive -x <FILE>, --extract=<FILE> Extract an existing archive -f, --fake-downloads Store downloads as zero-byte files in backup -n, --no-covers Do not include cover files in archive -D <DIR>, --destination=<DIR> Extract downloads in different folder -P, --purge Remove current data (can be combined with --extract) USAGE FOR BUG REPORTING
This command is useful if you want to report a bug in gPodder: gpodder-backup --create bug123.gpo.tar.gz --fake-downloads Backup your current data to file bug123.gpo.tar.gz, but don't store download data (create zero-size dummy files instead). You can then attach bug123.gpo.tar.gz to the bug report. If you are instructed to try gPodder from a "clean state", you can use the following command (be sure to backup your data before!): gpodder-backup --purge Remove all gPodder data, so you can start from a clean state EXAMPLES
gpodder-backup --create today.gpo.tar.gz Backup your current data to file today.gpo.tar.gz gpodder-backup --extract mybackup.gpo.tar.gz Restore (without purging) the contents of mybackup.gpo.tar.gz gpodder-backup --extract default.gpo.tar.gz --purge Remove current data, then restore the contents of default.gpo.tar.gz gpodder-backup --purge Remove all gPodder data, so you can start from a clean state EXTRACTING FAKED DOWNLOADS
Please note that any existing downloads will be overwritten with zero-byte files when using the --extract option of the gpodder-backup utility with a backup created with --fake-downloads AUTHOR
gpodder-backup was written by Thomas Perl (thp@gpodder.org) gpodder-backup 1.0 December 2010 GPODDER-BACKUP(1)
All times are GMT -4. The time now is 12:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy