Backup on Tape


 
Thread Tools Search this Thread
Operating Systems AIX Backup on Tape
# 8  
Old 02-17-2009
Quote:
Originally Posted by salmanucit
Hi,
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

Thanks
Salman
Hi,

I am not expert but when I checked your log4.txt file found something doubtfull. I am not sure this should be like this or not.

Quote:
0512-038 mksysb: Backup Completed Successfully.

bosboot: Boot image is 32804 512 byte blocks.

Verifying readability...

New volume on /dev/rmt0.1:
Why it mentioned /dev/rmt0.1. rmt0.1 means use rmt0 in append mode right ?
# 9  
Old 02-17-2009
Hi,
No it is not appending. It is reuseing the tape againd and again on each backup occurrence, overwriting the previous backup.
Thanks

Salman
# 10  
Old 02-17-2009
The /dev/rmt0.1 is the non-rewind device of the tape drive rmt0 and has nothing to do with your problems as when the tape is ejected it will be rewound anyway. I will have a look at what you have said in the past and see if there is something I have missed.
# 11  
Old 02-17-2009
Hi,
Thanks john, I will wait for your help

Salman
# 12  
Old 02-17-2009
Not knowing anything about the different environments I cannot comment on why the mksysb from one system takes a lot longer than the other. So many factors can effect the way a mksysb is run. This could be as simple as the SCSI device the tape drive is attached to or the data rate at which the data is written to the tape. All you need to worry about is whether the mksysb completes without errors!

Also a check in the error log to see if there are any failures against the rmt0 tape drive.

Try the command lsvg rootvg and check the total used PPs and post the result here.

Another important fact to take into account is this is a mksysb so it is not wise to exclude anything as the system might be unstable when re-built.
# 13  
Old 02-17-2009
Hi,
Folowing is the result of the commadn you asked to execute
Code:
rootvg: 
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT 
hd5                 boot       1       2       2    closed/syncd  N/A 
fslv00              jfs2       16      16      1    open/syncd    /ml-fixes 
hd8                 jfs2log    1       2       2    open/syncd    N/A 
hd4                 jfs2       2       4       2    open/syncd    / 
hd2                 jfs2       32      64      2    open/syncd    /usr 
hd9var              jfs2       1       2       2    open/syncd    /var 
hd3                 jfs2       4       8       2    open/syncd    /tmp 
hd1                 jfs2       1       2       2    open/syncd    /home 
hd10opt             jfs2       1       2       2    open/syncd    /opt 
hd11admin           jfs2       1       2       2    open/syncd    /admin 
pridumplv           sysdump    8       8       1    open/syncd    N/A 
secdumplv           sysdump    8       8       1    open/syncd    N/A 
paging00            paging     16      16      1    open/syncd    N/A 
paging01            paging     16      16      1    open/syncd    N/A 
paging02            paging     16      16      1    open/syncd    N/A 
paging03            paging     16      16      1    open/syncd    N/A 
paging04            paging     16      16      1    open/syncd    N/A 
paging05            paging     16      16      1    open/syncd    N/A

My concern is the size of the backup, not the time it is taking.
See the result bellow of command "listvgbackup -l -f '/dev/rmt0'" and have a look at the size of backup in output
Code:



# listvgbackup -l -f '/dev/rmt0'
VOLUME GROUP:           rootvg
BACKUP DATE/TIME:       Thu Feb 12 10:05:07 GMT+08:00 2009
UNAME INFO:             AIX sapsvr03 1 6 0000DAE2D900
BACKUP OSLEVEL:         6.1.1.0
MAINTENANCE LEVEL:      6100-01
BACKUP SIZE (MB):       27648
SHRINK SIZE (MB):       19337
VG DATA ONLY:           no

rootvg:
LV NAME             TYPE       LPs     PPs     PVs  LV STATE      MOUNT POINT
hd5                 boot       1       2       2    closed/syncd  N/A
fslv00              jfs2       16      16      1    open/syncd    /ml-fixes
hd8                 jfs2log    1       2       2    open/syncd    N/A
hd4                 jfs2       2       4       2    open/syncd    /
hd2                 jfs2       32      64      2    open/syncd    /usr
hd9var              jfs2       1       2       2    open/syncd    /var
hd3                 jfs2       4       8       2    open/syncd    /tmp
hd1                 jfs2       1       2       2    open/syncd    /home
hd10opt             jfs2       1       2       2    open/syncd    /opt
hd11admin           jfs2       1       2       2    open/syncd    /admin
pridumplv           sysdump    8       8       1    open/syncd    N/A
secdumplv           sysdump    8       8       1    open/syncd    N/A
paging00            paging     16      16      1    open/syncd    N/A
paging01            paging     16      16      1    open/syncd    N/A
paging02            paging     16      16      1    open/syncd    N/A
paging03            paging     16      16      1    open/syncd    N/A
paging04            paging     16      16      1    open/syncd    N/A
paging05            paging     16      16      1    open/syncd    N/A

Thanks
# 14  
Old 02-17-2009
Not lsvg -l rootvg just lsvg rootvg.
Login or Register to Ask a Question

Previous Thread | Next Thread

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 solution....to use tar or ufsdump...? ...and .... how can i restore files from tape if on the tape i have 2 sessions....how 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
Login or Register to Ask a Question