Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mksysb advice

Status
Not open for further replies.

desbo

IS-IT--Management
Oct 24, 2002
64
GB
Is it 100% safe to run a mksysb with users still on the system.
Will the resulting backup restore the operating system and all files 100% correctly.

If not, what are the problems
Thanks
 
hi,
a mksysb is not a snapshot of your system in a istant:

it is built in 3 essential steps

1) write boot image on tape ( no problem if user ... )
2) build image.data ( no relevant if user ... )
3) make a list of all files ( find / > /tmp/list )
4) an oper as: cat /tmp/list | backup -ivpf /dev/rmt0

more or less !

If between step 3 and 4 user create or delete files,
in mksysb will not go new files (no error report),
and some error will be reported becouse file in /tmp/list
are not found on system.

Conclusion:
A) a mksysb with user working is better than nothing
B) a mksysb with: no user, errclear 0,... is the best.


BYE
 
hi,

also it is best to backup just the root filesystem when doing a mksysb rather than the whole lot i.e. other filesystems etc.. to avoid this you can create a file in
/etc/ called exclude.rootvg ( more info do man mksysb)
so you back up / , tmp , home , usr, var

But as victorv has sais its is best if no users are on the system , so they don't have opened files .
 
When I said "all files" I was only referring to the system files. I have only ever backed up rootvg during a mksysb.

If I understand the replies correctly, a mksysb "on the fly" will restore the operating system and every file in rootvg but may throw up a few errors.

As long as I can restore an working OS and rootvg back to where it was in the event of failure and get my users back online straight away, I will be happy. If there are small problems to sort out later then that's OK.


 
If you keep "live data" out of rootvg, it shouldn't be a problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top