help-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-tar] tar: Child returned status 1, Error is not recoverable: e


From: Pavel Raiskup
Subject: Re: [Help-tar] tar: Child returned status 1, Error is not recoverable: exiting now
Date: Wed, 15 Feb 2017 17:11:38 +0100
User-agent: KMail/5.3.3 (Linux/4.9.8-201.fc25.x86_64; KDE/5.29.0; x86_64; ; )

On Wednesday, February 15, 2017 10:58:22 AM CET Robert Kudyba wrote:
> 
> > On Feb 8, 2017, at 9:55 AM, Pavel Raiskup <address@hidden> wrote:
> > 
> > On Wednesday, February 8, 2017 9:39:39 AM CET Robert Kudyba wrote:
> >> 
> >>> On Feb 8, 2017, at 9:34 AM, Pavel Raiskup <address@hidden> wrote:
> >>> 
> >>> On Wednesday, February 8, 2017 9:11:50 AM CET Robert Kudyba wrote:
> >>>> It varies depending on the excludes and what part of the file system we 
> >>>> are
> >>>> backing up. That’s why I included the actual backup script. But for 
> >>>> arguments
> >>>> sake here would be one example:
> >>> 
> >>> Robert, we need to rule out the possibility that you in reality 
> >>> accidentally use
> >>> --atime-preserve, so generated example is not enough.
> >> 
> >> In the /etc/drobo-backup.conf file I have these 2 options:
> >> 
> >> backup = /home/users --atime-preserve ......
> >                       ^^^^^^^^^^^^^^^^
> > Is this the issue?
> > 
> > Pavel
> 
> Hi Pavel finally getting back around to this. Notice the exclude directive is 
> included. Here’s a comment we have in the config file:
> 
> # Change default tar arguments if desired.  By default these are:
> #tarargs=--atime-preserve --one-file-system
> # Because aquota.user cannot have its atime reset, tar will give
> # an error status=2 if --atime-preserve is used when backing it up.
> # We don't want to lose the backup of this file but we also don't
> # want to routinely ignore tar status=2.  Solution is to make
> # --atime-preserve a per-backup argument and omit it when backing
> # up aquota.user separately.
> # IMPORTANT: include --atime-preserve on all of these except aquota.user
> 
> Here are the options we have set for backup paths:
> 
> backup = /home/users --atime-preserve --exclude=aquota.user --exclude=.gvfs 
> --exclude=S.gpg-agent --exclude=.adobe  --exclude=.dropbox --exclude=.cache 
> --exclude-caches-all
> backup = /home/users/aquota.user
> backup = /home --atime-preserve --exclude=.gvfs --exclude=.gnupg  
> --exclude=aquota.user
> 
> Still getting these errors:
> /bin/tar: home/users/aquota.user: Cannot utime: Operation not permitted
> /bin/tar: Exiting with failure status due to previous errors
> 
> Backup of /home/users FAILED
> Backed up /home/users to /ourdomain/home-users-FAILED.tgz

Robert, I would encourage you to run the backup script with some logging
output, so we konw what the commandline is.  E.g. print out the tar
command right before it is actually called.

I bet the --atime-preserve _is_ used, which causes this error.

Thanks!
Pavel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]