> On Feb 8, 2017, at 9:55 AM, Pavel Raiskup <[email protected]> wrote:
> 
> On Wednesday, February 8, 2017 9:39:39 AM CET Robert Kudyba wrote:
>> 
>>> On Feb 8, 2017, at 9:34 AM, Pavel Raiskup <[email protected]> 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

Reply via email to