Visit Our UNIX and Linux User Community

Backup on Tape

Thread Tools Search this Thread
Operating Systems AIX Backup on Tape
# 1  
Old 02-14-2009
Backup on Tape

I am very new to AIX, i have a development and a production server with AIX 6.1. I am using following command to backup my system

/usr/bin/mksysb '-m' '-V' '-i' /dev/rmt0

You can what i have in my root volume group in the atached file and and you can also see the backup information of the backup which i take on the tape.
My problem is, backup takes more than one hour to complete and the size of backup you can see is 19G. Why my backup size is this much big and it is taking this much time? On my production server, it takes 3 hours to complete and backup size is around 40G. Why is it so?
I just want to backup my System so that i can recover it in case of any failure.

# 2  
Old 02-14-2009
what is your PP SIZE?

Can you post the output of df -gt ?

Do you have a verbose log of the backup?

Are there any errors on rmt0 in errpt?

Is this a new issue or has it always been like this? If it is not new, when did it start?

Can you run the mksysb with the -v option do see what is being backed up? You will need to redirect to a log file.
# 3  
Old 02-15-2009

I am taking backup with verbose and will be uploading next time, dafinately i will be using -v option for this..

Can you explain this question "Are there any errors on rmt0 in errpt?"
I didnt see any error message when it checks tape drives readbility
I am first time doing this type of sys admin guy. I am a DBA actualy

Please see result of command you asked me to run in attached file
# 4  
Old 02-15-2009
Please take a look ath the output of my backup command with verbose. I have saved the log in two files, log1.txt and log2.xtx


Last edited by salmanucit; 02-15-2009 at 11:46 PM..
# 5  
Old 02-16-2009
ok. your backup is only ~4.5G which isnt to bad.

I have a few ideas for you

1) please post the output of
lsattr -El rmt0

2) change the block_size of rmt0 to 1024 if it is listed as 512 and rerurn the backup. add the -b 200 option to mksysb.
chdev -l rmt0 -a block_size=1024

3) if the compress attribute is no, then check it to yes and re-run the backup.
chdev -l rmt0 -a compress=yes

4) if 2 or 3 don't apply then I would suggest that you exclude the /ml-fixes file system from your backup. This should reduce the backup time by almost 50%. You can always backup that file system with another method without slowing down the mksysb backup or worse case a system restore. re-run the backup and report the times if this is ok.
echo /ml-fixes >> /etc/exclude.rootvg
# 6  
Old 02-16-2009
Thanks for your suggestions. I would be applyin what you just said but i didn't understand your phrase "ok. your backup is only ~4.5G which isnt to bad."
My curren tbackup size is 19.3 G in compressed format and 27.6 G.
Please see the output of the command you mentioned in point 1st, in the attached file.
I have excluded /ml-fixes. And it is taking around 50 minutes to backup.
But my main concern is the size of my backup which is still 19.3 in compressed forat which i can see if i execute the command

# listvgbackup -l -f '/dev/rmt0'

BACKUP DATE/TIME: Mon Feb 16 19:48:00 GMT+08:00 2009
UNAME INFO: AIX sapsvr03 1 6 0000DAE2D900

Why backup size is this much big?


Last edited by salmanucit; 02-16-2009 at 08:37 AM..
# 7  
Old 02-17-2009
the actual data in the backup is only 4.5G. see the last log file.

The total size is 4558270852 bytes.

Previous Thread | Next Thread
Test Your Knowledge in Computers #16
Difficulty: Easy
There are a total of 25 pins in the traditional parallel port of a computer system.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

How to backup when there is no tape available?

Hi All! Letīs say there are a few solaris servers connected to a NetApp storage device, but with no tape library or tape device attached to none of them. Assuming the O.S. is installed on the root disks, how to recover if the O.S. failed in one of the systems? Please share your ideas. (13 Replies)
Discussion started by: fretagi
13 Replies

2. UNIX for Dummies Questions & Answers

Backup Tape suggestion

Hi All, I would like some feedback / suggestion /recommendation about backup tape/disaster recovery for linux box as i'm new to linux. We have linux box running as webserver which hosting website files. I know that i have to backup all "website files". Is there any Linux system file i have... (2 Replies)
Discussion started by: c00kie88
2 Replies

3. 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

4. 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

5. 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

6. Solaris

backup to tape - compression?

How can I tell (from the command line) is compression is turned on for a tape drive? I need to backup a system that is approx 150gb to a tape that has 110gb uncompress but 220gb available compressed. Any ideas? Also is it possible to turn compression on or off from the command line? I am... (1 Reply)
Discussion started by: frustrated1
1 Replies

7. Solaris

backup using tape

hello everybody... i need some help ... so... i need to do some backups from one solaris system and i dont know whitch is the best use tar or ufsdump...? ...and .... how can i restore files from tape if on the tape i have 2 can i access second session....? enough... (4 Replies)
Discussion started by: nich007
4 Replies

8. UNIX for Dummies Questions & Answers

Tape Backup

I have a script which runs overnight to backup a database into a tar file. I then gzip the file and send it off to a tape device. The command I'm using for the tape backup is tar cvf /dev/rmt/0n /var/dbbackup/${FILE}.gz I thought the n meant no rewind so the next file is copied to tape... (4 Replies)
Discussion started by: mattd
4 Replies

9. UNIX for Dummies Questions & Answers

How to add backup tape

Hi guys I have a Caldera Openlinux 3.1.1 i'm new with this OS so please bear with me. I have no idea about how to install my backup tape could any of you tell me how to do this. I worked before with unix sco openserver 5.0.6 and i know that you can use scoadmin and then option (tape ). ... (1 Reply)
Discussion started by: josramon
1 Replies

10. UNIX for Dummies Questions & Answers

Tape Backup

Can someone please.... help me how to install tape backup I am using FreeBSD Unix version running on I386 PC box. My IDE tape device is made by HP (Colorado 5GB). Thank you in advance! (15 Replies)
Discussion started by: jackpotp
15 Replies

Featured Tech Videos