Backup script for Aix without tape mount


 
Thread Tools Search this Thread
Operating Systems AIX Backup script for Aix without tape mount
# 1  
Old 04-02-2008
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.
# 2  
Old 04-02-2008
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
# 3  
Old 04-02-2008
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
# 4  
Old 04-02-2008
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
# 5  
Old 04-02-2008
no sorry I dun have it anymore
# 6  
Old 04-03-2008
Hi,

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

Greets,
Yac.
# 7  
Old 04-03-2008
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Listing tape in AIX | backup taken from windows

Hi, We have backup on LTO-3 tape it was taken from windows via windows backup utility, now the issue is that we want to list the content of tape in aix 6.1. Kindly help. Regards Salman (3 Replies)
Discussion started by: salmanraza
3 Replies

2. AIX

AIX 5.3 & Veritas Backup with Tape Library

hello, I am facing this problem when trying to prepare AIX 5.3 for Veritas Backup: Veritas Software is not able to communicate properly with our tape library When we tried to run these commands here's the output # cfgmgr -l fscsi0 # cfgmgr -l fscsi2 # cfgmgr -l fscsi1 cfgmgr:... (3 Replies)
Discussion started by: filosophizer
3 Replies

3. AIX

How to list files in AIX 3.2 mksysb backup tape

Hi, Can anyone tell how to list files in a AIX 3.2 mksysb backup tape. Thanks! Victor Cheung (4 Replies)
Discussion started by: victorcheung
4 Replies

4. SCO

Backup to SCSI Tape Backup aborts

I am trying to make a full backup of my system using the cpio command. The Tape Unit is a SCSI DDS. The process started fine but after about 30 minutes, it just stopped and showed the following message: 1755 Signal 31 - Core dumped Any idea of what is causing this and how to fix it? ... (4 Replies)
Discussion started by: zionpc
4 Replies

5. AIX

How to mount internal tape drive of sun machine in AIX 5.3

Hi, Help required! How to mount internal tape drive of sun machine in AIX 5.3 (0 Replies)
Discussion started by: ashwin.krishna
0 Replies

6. UNIX for Dummies Questions & Answers

Check backup file size on backup tape

Hi, I performed backup on tape and I want to append more files to my previous backup on the same backup tape. But before I do that I need to know the backup file size of the first backup I performed so that I know the available size on the backup tape. Can someone help me what command I will use... (0 Replies)
Discussion started by: ayhanne
0 Replies

7. AIX

AIX Tape Drive Backup

Currently I have a Dell Ultrium LTO 2 Tape Drive. I am going to have a IBM AIX server. Just wonder if it is possibe to connect this tape drive to the aix server? I have Brightstor Arcserver installed on another win 2003 server. Is it possible to install the arcserve agent on the aix and use the... (1 Reply)
Discussion started by: ming413
1 Replies

8. UNIX for Dummies Questions & Answers

Mounting DLT tape and to backup file to tape

Hi there: I'm new here Can anyone help me: I have DS15 Alpha server : Unix 5.1B Now i need to connect a DLVT VS80 1U Rackmount Tape Drive unit. What is the exact comman to mount the DLTape IV?? How do i make backuo @ copy file to the tape? Thanx to all (0 Replies)
Discussion started by: ayzeayem
0 Replies

9. Shell Programming and Scripting

[Help help] backup script for tape on solaris

hi all, very urgent need backup script on tape using solaris 8, my tape drive is DAT 72 on sun v240. i need a simple script to backup files from directory /data/log/back/200703/filename.log. the files will backup continue each day on the tape which have 72 GB. the files size only 50MB and... (0 Replies)
Discussion started by: bucci
0 Replies

10. UNIX for Advanced & Expert Users

backup command that will send e-mail to mount 2nd tape

Hi, I'm trying to come out with a script that uses the 'backup' command to backup large filesystems. Most of the time this data takes two or three DLT tapes to complete. The backup takes too long because operations never sees the message to mount 2nd tape. I have a script that uses sysback and... (1 Reply)
Discussion started by: mvilla0993
1 Replies
Login or Register to Ask a Question