Backup failed


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Backup failed
# 8  
Old 01-03-2008
I don't want you to truss the script. I would like you to truss the cpio command directly.

have you tried to clean the tape drive several times?
# 9  
Old 01-03-2008
I tried to clean the drive as well, suppose I want to write a folder /home/compdir to tape, how I'll use truss with cpio, can you please give me full command.

Thanks a lot for your support.
# 10  
Old 01-03-2008
I already posted the truss usage. Just put the cpio backup command you use after truss. Hopefully the syntax is the same on unixware. I don't have a unixware server to play with so you might have to consult with the man page.

Code:
truss -aef -o /tmp/truss.log cpio_backup_command_here

# 11  
Old 01-03-2008
I entered into that directory, and gave a simple cpio command:
Code:
#ls -R | cpio -ov > /dev/rct0

It gave me error:
Code:
UX:cpio: ERROR: Cannot access "MA_REPPR.html":  No such file or directory

Why its so, I can read all files, but cpio gives the same message for all files? if I want to read from the tape I can do it very easily, with command:
Code:
cpio -ict < /dev/rct0

 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Backup: The lseek call failed

Hi, We are facing issues while backing up our 1205 GB filesystem on LTO5 Tape. During backup the "backup: The lseek call failed." messages were generated, I want to know why these messages were generating AIX version is: 6100-08-00-0000 backup: The date of this level 0 backup is Mon Mar 11... (4 Replies)
Discussion started by: m_raheelahmed
4 Replies

2. Shell Programming and Scripting

Help with Backup Shell Script for Network Device Configuration backup

HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here Im explaining the requirement of script. AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies

3. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

4. AIX

backup script failed with error '0403-005 Cannot create the specified file'

In AIX 5.1, a daily run script that backing up oracle data failed yesterday with following errors: The Tivoli backup of DBPROD failed. What could be the issue, OS, backup or Oracle? (3 Replies)
Discussion started by: jalite19
3 Replies

5. Solaris

Cygwin X Server error: xdmcp fatal error session failed session 23 failed for display

Hi, i got the following error when i tried to access the cygwin x server from a windows XP PC. "xdmcp fatal error session failed session 23 failed for display" Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)
Discussion started by: HarishKumarM
3 Replies

6. HP-UX

Backup Files Failed

I am having difficulty in doing ontape -s -L 0. At first it was giving a message Archive failed - function to write to tape failed code -l errno 5. After about 24 hours it says "could not write archive tape. What do I do? Can anyone please advise on what the problem is and what I can do? ... (0 Replies)
Discussion started by: Gillonye
0 Replies

7. AIX

SFTP Failed---Request for subsystem 'sftp' failed on channel 0

Hi, While I am trying SFTP my machine to another unix machine , it was working fine till 10 min back. But now i am getting the below error "Request for subsystem 'sftp' failed on channel 0" Could you please someone help me to solve or analyise the root cause... Cheers:b:, Mahiban (0 Replies)
Discussion started by: mahiban
0 Replies

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

9. UNIX for Dummies Questions & Answers

EOD backup failed

EOD backup failed with following error: 05/08/07 01:10:02 write /home/compdir to DATTAPE 2712860 blocks UX: cpio: HALT: Cannot read from device 1 error Failed on shell-script: cpio -ictB 2>>/home2/Rev83/misc/logs/bk.End-of-day 1>/dev/null </dev/rct0 05/08/07 2:29:14 What above output... (0 Replies)
Discussion started by: nervous
0 Replies
Login or Register to Ask a Question