Can't backup past /etc/magic


 
Thread Tools Search this Thread
Operating Systems Solaris Can't backup past /etc/magic
# 1  
Old 03-29-2004
Can't backup past /etc/magic

Hi,

We've gotta bit of a problem regarding backups. Sometimes when we run a backup from a script :

find . -print |grep -v "^\.\/newicc" | grep -v "^\.\/proc" >$LST
cat $LST | cpio -oBcav > /dev/rmt/1cb

It quite often it seems to hang when it reaches the /etc/magic file. This happens frequently on all 3 of our Sun Enterprise 3500's backing up onto DLT IV.

The odd part is I grep'd out the "/etc/magic" file and it hung on "/etc/format.."

It's getting rather confusing as it's happening on multiple machines, any help would be more than welcome..

Cheers in advance.
# 2  
Old 03-29-2004
/etc/magic is the last file to work. You want to examine the file that follows it. That will probably be /etc/mnttab. Do a "df -k" and notice that /etc/mnttab is a psuedo filesystem much like /proc. You will need to exclude /etc/mnttab.
# 3  
Old 03-30-2004
The great, cheers. I'll take it out of the scripts and it'll be run over the weekend.

Thanks loads...Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

Can't get past google verification

Trying to register the Verification step is blocking me. I've allowed all the intrusive Google trackers and Java. Tried different browsers with no blocking. Nothing is working. Says: "Try again later Your computer maybe ... " What weird is in this forum section I can pass the recaptcha but in... (1 Reply)
Discussion started by: Unregistered
1 Replies

2. Solaris

CPU Utilisation for Past 1 day

Hi, Can anyone tell me how to get the CPU utilisation for past 1 day in Solaris. Below is the version i m using SunOS ss1qeb 5.10 Generic_138889-03 i86pc i386 i86pc thanks in advance (2 Replies)
Discussion started by: ali560045
2 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. Shell Programming and Scripting

how can i past environment variables?

i am asking to do somethings like: make use of 2 environment variables: ASS1_DATA_DIR specifies the location of the input data files ASS1_OUTPUT_DIR specifies the location of the output data files i have something like that; #set environment variables set VARIABLE1=ASS1_DATA_DIR... (5 Replies)
Discussion started by: mingming88
5 Replies

5. UNIX for Dummies Questions & Answers

SCO Backup Problem (bad Sblock Magic Number)

Hi guys, First I have to say that I'm not Unix expert, I just have medium level experince in Unix scripting and some knowledge with a little of hands on experience of unix administration (Solaris only). I have my plans to move ahead in that field but this is a different story. I have a client... (0 Replies)
Discussion started by: SolarisProToBe
0 Replies

6. What is on Your Mind?

Past Time

Dear UNIX Folks, I guess everyone of us like to know what sysadmin typically do during his free time. Not what he/she likes as an hobbies.. but what activities does he/she often indulge in other than facing the monitor. Maybe we can come up this a better stereo-typed for sysadmin. I... (8 Replies)
Discussion started by: izy100
8 Replies

7. UNIX for Dummies Questions & Answers

help getting past unzip password

Anyone know how to automate the Unzip password prompt? I need to unzip a window's file in Unix without manually typing in the password. (2 Replies)
Discussion started by: Ronny Lam
2 Replies
Login or Register to Ask a Question