On 09-12-18 14:17:54, Olaf Reitmaier Veracierta wrote: > Hi, > > In a backup shell script I tar a file but sometimes it's chaging > because is a log file (plain/text). > > While taring a get this error (warning) message: > > /bin/tar: /var/log/postgresql/postgresql-8.1-main.log: file changed > as we read it > > The command return with a non-zero value (an error) but I can't found > tar return codes in man. ...
See `info tar` node Synopsis for the exit codes. "1" means "some files differ" and you can just ignore it in your script. Such files will likely get backed up completely next time. -- ____________________________________________________________________ TonyN.:' <mailto:tonynel...@georgeanelson.com> ' <http://www.georgeanelson.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org