Question |
How to take mksysb backup ? |
Answer |
We can take mksysb backup with # mksysb -ie /dev/rmtX command or smitty mksysb command. there i used to create image.data file and e is used to exclude file listed in /etc/exclude.rootvg |
|
Question |
|
AIX backup commands for file sysem level,mksysb. options to Backup to directly tape or disk pool.parameters for duration to keeps these backup. restoration command for fs,mksysb |
|
Answer |
For file system level backup command you can use, tar,cpio or backup command. smitty also can be used for backup of file system level backup. for mksysb backup you can use mksysb be command. it has option for tape and disk pool. |
|
Question |
|
How to use backup command ? |
Answer |
backup -uf /dev/rmtX filesystem_name |
|
Question |
How to use backup command to take vg backup ? |
Answer |
|
you can use savevg command to take vg backup. # savevg -if /dev/rmtX datavg # savevg -if /dev/dir_name vgname |
|
Question |
|
How to use cpio command ? |
Answer |
CPIO command can be used in these format # cpio -ov path /dev/rmtX to copy the curent directory #find . print | cpio -ov >> /dev/rmtX |
|
Question |
Backup restoration command on aix |
Answer |
we can use below command for restoration of backup. for mksysb single file restoration we can use #restore -xvf /dev/rmt0 ./desired file path to restore the backup taken by save vg command # restvg -f /dev/rmt0 for retoraton of tar file tar -xvf device path_restoration |
|
Question |
How to use file system level backup command using tar,cpio or backup command or smitty |
|
Answer |
|
tar is very basic unix command but it takes backup of list of file and directory #tar -cvf devicename backup_location tar -xvf /dev/rmt0 /home/team01/mydir find /home | cpio -ov> /dev/rmt0 cpio -idv < dev -rqvf restore system of backup full for ### home rmt0 -f -0 -u> |
|
Question |
Can we take bootable rootvg and savevg in same tape ? |
|
Answer |
|
It is not possible take both on same tape but mksysb take conatain vg backup of rootvg |
|
Question |
What difference b/w savevg and rootvg ? |
Answer |
save vg is used to take backup of full volume group backup. mksysb is used to take bootable image of os consisting of vg backup mksys contain four part. 1. kernel drive 2. contain image.data fle bootinst file 3. dummy .toc 4 contain vg backup of rootvg |
|
Question |
|
How to take vg backup ? |
Answer |
we can use save vg command to backup entire vg |
|
Question |
Is it possible to take tape backup from aix ? |
Answer |
yes we can take tape backup and aix. |
|
Question |
Command to restore single file from file system backup on aix? |
Answer |
Check avaiblity of file # restore -T -q -l -f backup_mksysb | grep nimbck.ksh restore the fle from mksysb backup # restore -x -q -f backup_mksysb ./home/padmin/nimbck.ksh please take backup of old file before restoring this file |
|
Question |
|
Is it possible to restore the mksysb backup without completion of mksysb 100% ? |
|
Answer |
Backup will not be retorted. it will cause issue. |
|
Question |
Can we fix the retention for the backup taken by mksysb cmd ? |
Answer |
yes it can fixed later |
|
Question |
How to restore single file from mksysb backup on aix? example- inittab file ? |
Answer |
# restore -T -q -l -f vio1.mksysb | grep inittab # restore -x -q -f vio1.mksysb ./etc/inittab |
|
Question |
How to test our mksysb backup is taken consistently or it is bootable? |
Answer |
mksysb command have option Verify readability if tape device or we can varify it with belo command listvgbackup -f /dev/rmt0 |
|
Question |
|
How to see content of mksysb command ? |
Answer |
listvgbackup -f /dev/rmt0 |
|
Question |
How to take mksysb backup 100%, some times it finished with 70 or 80% |
Answer |
check the error and reference id. check tmp size. or allow expand tmp when required. |
|
Question |
Command for taking file system back up ? |
Answer |
You can take file system backup with backup command. it is best and suitable command for it. tar and cpio also can be used. but we can use backup command for full backup and incremental backup. |
|
Question |
How to use scp command ? |
Answer |
scp file your_username@remotehost.edu:/some/remote/directory |
|
Question |
How to take savevg backup? |
Answer |
savevg backup can be taken with simple command # savevg -if /dev/rmt0 condition for savevg backup # file should not be excluded. |
|
Question |
How to see content of tape ? |
Answer |
if it is a mksysb/savevg bacckup we can check it with # listvgbackup -f /dev/rmt0 |
|
Question |
|
How to write file on cd ? |
Answer |
mkcd command can be used to write on cd. such as #mkcd -d /dev/cd1 -L |
|
Question |
|
How we can acoid movement of other user accounts while copying entire home directory |
Answer |
Exclude file when taking mksysb backup. or normal file backup use tar with selective fle. |
|
Question |
How to ensure the backup is done successful for failed ? |
Answer |
always use option check readablity. or check it with tcopy command |
|
Question |
How to restore mksysb backup ? |
|
Answer |
|
mksysb backup can be restored with nim, dvd media or tape. restore from dvd media we need take backup with mkcd command. restore from tape we can take backup with mksysb command. for nim simple backup on file system needed and coppied to nim server. |
|
Question |
|
Is it possible to take mksysb to harddisk ? |
Answer |
no, it is not imposible to take backup on hard drive. alt_disk method can be used for this. |
|
Question |
Incase of Disaster, How to recover the AIX OS with Application? To Achieve this What & all needs to take Backup? |
Answer |
To recover the aix os we need to take mksysb backup on file and data backup with backup command on file or tape. nim is the fatest and easiest method to recover the os. so copy the mksysb backup on nim server. create nim client. create mksysb and spot with mksysb backup. assign resources to nim client. perform nim operation – restoration from mksysb. then restore file system backup. |
|
Question |
In maksysb backup which filesystem we cannot include? |
|
Answer |
/home |