Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 552
  • Last Modified:

How to Restore files / folders in AIX 5.3

Ok I'm very, very, very new to AIX 5.3

I need to stored some files & folders to our server from a tape backup that was done on a V23 tape two days ago???

I have never restored anything on this server before please help
0
compdigit44
Asked:
compdigit44
1 Solution
 
omarfaridCommented:
how backup was taken?
0
 
compdigit44Author Commented:
All backups are done directly on this server using the built-in AIX funcations..All backups are a Full backup
0
 
kishored2004Commented:
which command you use exactly to take backup? That will be used for a restore as well....do you use the backup command? you could also have used tar with cpio....etc
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
sjm_eeCommented:
A "full" backup of an AIX system is usually done with the "mksysb" command, but AIX also provides a menu system called "smit" through which you can perform a restore. You can go straight to the relevant menu by running "smit restmksysb".
0
 
compdigit44Author Commented:
Please bare with me ..I'm using VI to view the contents of the backup.sh job and here is what  have so far:
prog = 'sysback'
backup type = "Full backup"
volgrps = rootvg , fdcvg3

Does this help at all ... PLease, Please , Please help
0
 
compdigit44Author Commented:
Looks a little scary!!!!!!!!!!!

CAn smiityy help at all with this I only have to restore specific folders..
0
 
compdigit44Author Commented:
Stupid question but could someone send me step-by-step instructions on how to restore files / folders in AIX 5.3??? I tried to use 'smit' but I'm not sure what to use for the block size right now I'm using V23 IBM media.. Please help
0
 
compdigit44Author Commented:
When I follow the instruction in the KB articel above the restore kicks off and states that it comes successfully yet when I check the restore directory none of this file were restore please help
0
 
kishored2004Commented:
Hello

Which version of sysback do you use?

Can you list the step by step output of what you perform and what is the outcome on the screen?

Thanks
0
 
compdigit44Author Commented:
Great news!!!!!!!!!!! I was finally able to get the folders restored!!!!!!!!!!!!!!!!! What can I say newbiw error..

I do have two quick questions though... I ended up restoring the folders using the KB article listed above. Using this article how would I restore an entire volume on my AIX server.???

ALso how can I make my tape automatically eject when a backup job completes succesfully??

Thanks Again,
0
 
kishored2004Commented:
Can you be more specific as to what you mean by an AIX volume?

Think Sysback automatically ejects the tape device once end of tape is reached as per:

http://www-01.ibm.com/support/docview.wss?rs=816&context=SSVVS7&dc=DB540&uid=swg21282832&loc=en_US&cs=UTF-8&lang=en&rss=ct816tivoli

Maybe you can modify your backup script to add this line after the backup line to eject the tape after the backup

sbdevice -nre '/dev/rmt1'
0
 
compdigit44Author Commented:
Sorry for the confusion... What I mean by volume I mean like restoring the entire 'rootvg' for example.....
0
 
kishored2004Commented:
Hi

http://bio.gsi.de/DOCS/AIX/www.coredumps.de/doc/ibm/aix/aix_hints_and_tips/6212204.htm

this link provides the step by step procedure for making an mksysb and restoring root vg as well as other volume groups.

Hope this helps

Good luck!
0
 
compdigit44Author Commented:
Thanks for the reply kishored2004 - - can you restore the 'rootvg' and other volumnes that were backed using a 'sysback' backup though?
0
 
kishored2004Commented:
No. mksysb uses a specific format for backing up files in rootvg. To restore from an mksysb image you use the restore command.
0
 
compdigit44Author Commented:
so in other working if I want to restore an entire volumne on my AIX server I cannot do it using a 'sysback' back which I'm doing now but I would need to do a special backup using 'mksysb' is this correct?
0
 
kishored2004Commented:
mksysb is typically used to backup the root volume group. So you can backup your root volume group using mksysb and all the other volume groups using sysback.
0
 
compdigit44Author Commented:
stupid question..what would happen if I were to restore 'rootvg' using a 'sysback' backup?
0
 
kishored2004Commented:
I am not sure how sysbacj restores rootvg images. mksysb has been designed for such a specific purpose and is an inbuilt tool. So if the system is down and cannot be brought up we can restore the system by restoring the mksysb and then restoring the other volume groups via SysBack.

Unfortunately I am not so experienced with SysBack to answer that question.

Thanks. Hope this helps
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now