LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-30-2002, 11:18 AM   #1
dudeha
LQ Newbie
 
Registered: Dec 2002
Location: near Peoria, Illinois
Posts: 3

Rep: Reputation: 0
TAR errors - to worry or not to worry??


Howdy!

I'm running RedHat 7.3 and backing up my system to a tape drive with the following tar command (which runs in a script M-F via Cron). I just setup this backup for the first time:

tar -zcvpf /dev/st0 -T /usr/local/backup/FILESYSTEM > /var/log/backup/tntux-backup-files.log 2> /var/log/backup/tntux-backup-errors.log

My backup is successful in that my file log is very populated, and I have even test restored certain files. However, my error log shows the following. I was wondering if anyone can tell me what one or more of these errors mean, and if they are something to worry about or not. I am somewhat new to using TAR and would like to know what these mean so I can either "rest" or "be stressed"! ;-) Thanks a lot for your help...

[root@tntux backup]# cat tntux-backup-errors.log.2
tar: Removing leading `/' from member names
tar: /dev/log: socket ignored
tar: /dev/gpmctl: socket ignored
tar: : Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
 
Old 12-30-2002, 02:54 PM   #2
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Well, you can either stress or peace out..

Your problems are due to incorrect file(names) in your FILESYSTEM file.

Work through your list again, and remove things like /dev/mouse , /dev/<odd stuff here> because you can't store your mouse on a tape, for instance :P

Likewise, look for funny squiggles, and odd characters you've gotten left there (the removing /' from names).

Finally you've simply got files trying to be backed up that either aren't there, or have moved, or have the wrong directory name (hence 'cannot stat')

Doesn't look as though you have too much to be worried about, unless one of those directories was a large one.

Slick.
 
Old 12-31-2002, 03:09 PM   #3
dudeha
LQ Newbie
 
Registered: Dec 2002
Location: near Peoria, Illinois
Posts: 3

Original Poster
Rep: Reputation: 0
Cool! It sounds like I need to trim down my FILESYSTEM file pretty good.. Right now I'm grabbing everything under the sun! ;-) Thanks a lot for the help!

[root@tntux root]# cat /usr/local/backup/FILESYSTEM
/bin
/boot
/dev
/etc
/home
/lib
/opt
/root
/sbin
/usr
/var
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Security Worry little_penguin Linux - Security 6 08-23-2005 10:06 PM
Viruses... Should we worry about them xmdms Linux - Enterprise 10 01-21-2005 04:48 PM
Kernel Errors while Suspending to swap.. to worry about ? qwijibow Linux - General 0 11-16-2004 08:52 AM
Should i worry? Hovi Linux - Security 7 01-12-2004 03:16 PM
should i worry about these outputs? wza Linux - General 3 01-10-2004 12:18 AM


All times are GMT -5. The time now is 02:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration