Monthly Mksys OS backup AIX

Step-1
Estimate Backup:
=================================================================

df -tk `lsvgfs rootvg` | awk ‘{total+=$3}\
END {printf “Estimated mksysb size: %d bytes, %.2f GB\n”, total*1024, total/1024/1024}’

It will give you the estimated time of backup,

Step-2

Backup Command:

backupios -file /home/padmin/28August2013_TESTVIOI_mksysb ===============> VIO Backup Command
mksysb -e -i -X /mksysb/10Nov2013_server-1_mksysb============================>AIX server Backup command

Step-3

=================
Pre -checks:

=> check NFS FS size(Backup file) and root vg FS sizes . Note : if any FS Full Zip old logs

=> To check performance of the server

=> To check root VG FS

=> To check /etc/exclude

==========================

Step-4

================================
server-1

mksysb -e -i -X /mksysb/02March2014_server-1_mksysb

server-2

mksysb -e -i -X /mksysb/02March2014_sever-2_mksysb

Post checkups:

==> check the process running or not ps -ef |grep -i mksysb

===> check Root VG FS sizes

===> check the backup FS size .

==> to check the backup is sucesfull are not ( lsmksysb -l backup file name )

VIO server Backup:

================================================================================================
TESTVIO1:
—————————-

mksysb -e -i -X /tmp/02March2014_TESTVIO1_mksysb ================> to take mksysb backup taken file

lsmksysb -l -f 12Feb2014_TESTVIO1_mksysb =================> to check mksysb sucess or not

Mksysb error:
=====================
# mksysb -e -i -X /mksysb/09Feb2014_server-1_mksysb
0503-903 chedition: Edition can not be determined.
A signature file was not found in the /usr/lpp/bos directory.

Creating information file (/image.data) for rootvg.

Creating list of files to back up.
.
Backing up 124971 files…………………………
30645 of 124971 files (24%)…………………………
42122 of 124971 files (33%)…………………………
42751 of 124971 files (34%)……………………backup: 0511-089 Cannot open ./var/tmp/netcd.lock: Cannot open or remove a file containing a running program.
……
50590 of 124971 files (40%)…………………………
93372 of 124971 files (74%)……………..

0512-003 mksysb may not have been able to archive some files.
The messages displayed on the Standard Error contained additional
information.

==================================================================================

By: Bibhut Bhusan

Leave a comment