Backups - tar exit status

This is a discussion on Backups - tar exit status within the Linux Administration forums, part of the Linux Forums category; Tar is a great backup utility - except that it has only 2 exit statuses - 0 or 1, which isn't ...


Go Back   Usenet Forums > Linux Forums > Linux Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-12-2005
Graham Nicholls
 
Posts: n/a
Default Backups - tar exit status

Tar is a great backup utility - except that it has only 2 exit statuses - 0
or 1, which isn't useful. Suppose you just get a warning - which sets the
exit status to 1 - the backup is still fine. A catastrophic tape error
leaving the backup useless still exits with 1, so what do people do about
monitoring scripts to ensure success? PLEASE don't suggest another
utility, unless its cpio (anyone know about the exit statuses of cpio?). I
want to use tar because its free, scriptable, standard, etc.

Thanks
Graham Nicholls
--
The answer's always "Yes".
Now, what was the question?


----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
Reply With Quote
  #2 (permalink)  
Old 09-17-2005
Eric
 
Posts: n/a
Default Re: Backups - tar exit status

Graham Nicholls wrote:

> Tar is a great backup utility - except that it has only 2 exit statuses -
> 0
> or 1, which isn't useful. Suppose you just get a warning - which sets the
> exit status to 1 - the backup is still fine. A catastrophic tape error
> leaving the backup useless still exits with 1, so what do people do about
> monitoring scripts to ensure success? PLEASE don't suggest another
> utility, unless its cpio (anyone know about the exit statuses of cpio?).
> I want to use tar because its free, scriptable, standard, etc.
>
> Thanks
> Graham Nicholls


What warnings do you get? You should strive to make your operations warning
free.
Eric

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:53 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0