The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Backup to SCSI Tape Backup aborts zionpc SCO 4 12-07-2007 04:47 PM
Check backup file size on backup tape ayhanne UNIX for Dummies Questions & Answers 0 10-25-2007 08:41 AM
Mounting DLT tape and to backup file to tape ayzeayem UNIX for Dummies Questions & Answers 0 08-13-2007 11:09 PM
[Help help] backup script for tape on solaris bucci Shell Programming and Scripting 0 03-14-2007 03:03 AM
backup command that will send e-mail to mount 2nd tape mvilla0993 UNIX for Advanced & Expert Users 1 06-14-2002 12:24 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-01-2008
Registered User
 

Join Date: Apr 2008
Posts: 10
Backup script for Aix without tape mount

Hi,

My situation is to write a backup script for AIX server which doesnt have a tape mounted.

They have created a folder on windows so that all AIX backup files can be moved to that windows folder where they will put these AIX backup files on a tape.


Appreciate help.

Regards
dsrules.
Reply With Quote
Forum Sponsor
  #2  
Old 04-01-2008
Registered User
 

Join Date: Nov 2006
Posts: 260
I dun support aix but some years I did, back then I remember we did something like this.

I suppose you will have to backup your data to your unix local folder since your aix server dun have a tape drive. use tar or cp or something, if oracle database you have to either export dump file or freeze-cp-unfreeze each tablespace datafile.

alter tablespace abcdef begin backup
!cp -p /u01/data/somedata.dbf /somefolder
alter tablespace abcdef end backup

Then after that from your windows server you write a FTP script and schedule it to automatic logon to unix box to get the files

check man pages for netrc, ftp how you can get some idea
Reply With Quote
  #3  
Old 04-02-2008
Registered User
 

Join Date: Apr 2008
Posts: 10
Backup script for Aix without tape mount

Hi Sparcguy,

Please do you have some sample code for the same UNIX and oracle dumps.

Appreciate your help.

Thanks

Dsrules
Reply With Quote
  #4  
Old 04-02-2008
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
What kind of backup do you need?

- a system backup without (with?) data?
- just the data?
- a bootable backup?

Depending on what your objective is there are different methods (backup, savevg, mksysb, etc..)

I hope this helps.

bakunin
Reply With Quote
  #5  
Old 04-02-2008
Registered User
 

Join Date: Nov 2006
Posts: 260
no sorry I dun have it anymore
Reply With Quote
  #6  
Old 04-03-2008
Yac Yac is offline
Registered User
 

Join Date: Sep 2007
Posts: 8
Hi,

Try this:
find . -print | backup -ipf- > /backup_folder/backup_file
Then you can copy the result file to your Windows server.

Greets,
Yac.
Reply With Quote
  #7  
Old 04-03-2008
Registered User
 

Join Date: Mar 2008
Posts: 28
Due to office political reasons I cannot run mksysb to tape in one of my offices, though there are two robots attached to the AIX server, each with a tape drive. What I do is use mkcd and create iso images, sftp them to a Windows box on the same LAN. Then if things really go south I can burn those to CD and recover that way. There is also the mkdvd command if your AIX server can read DVD's. Mine can't, don't ask.

I've detailed the smitty use of the mkcd command at the url mksyscd ? - comp.unix.aix | Google Groups

After you have created the iso's using smit you can automate the command by picking it out of ~/smit.script. To automate you would want to remove the temporary file systems after using mkcd/mkdvd. YMMV.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0