Aqui está a saída do comando no modo de teste. Não sei por que isso falharia com o comando --exclude=aquota.user
no primeiro tar
.
/usr/local/sbin/drobo-backup -c /etc/drobo-backup.conf -v -n
Reading configfile /etc/drobo-backup.conf
/bin/mkdir /ourdomain
ionice -c2 -n7 nice -n10 /bin/tar -cf /ourdomain/home-users-new.tgz -C / --one-file-system --warning=no-file-ignored --warning=no-file-changed --warning=no-file-removed --use-compress-program=pigz home/users --atime-preserve --exclude=aquota.user --exclude=.gvfs --exclude=S.gpg-agent --exclude=.adobe --exclude=.dropbox --exclude=.cache --exclude-caches-all
/bin/mkdir /ourdomain
ionice -c2 -n7 nice -n10 /bin/tar -cf /ourdomain/home-users-aquota.user-new.tgz -C / --one-file-system --warning=no-file-ignored --warning=no-file-changed --warning=no-file-removed --use-compress-program=pigz home/users/aquota.user
/bin/mkdir /ourdomain
ionice -c2 -n7 nice -n10 /bin/tar -cf /ourdomain/home-new.tgz -C / --one-file-system --warning=no-file-ignored --warning=no-file-changed --warning=no-file-removed --use-compress-program=pigz home --atime-preserve --exclude=.gvfs --exclude=.gnupg --exclude=aquota.user
/bin/mkdir /ourdomain
ionice -c2 -n7 nice -n10 /bin/tar -cf /ourdomain/etc-new.tgz -C / --one-file-system --warning=no-file-ignored --warning=no-file-changed --warning=no-file-removed --use-compress-program=pigz etc --atime-preserve
/bin/mkdir /ourdomain
ionice -c2 -n7 nice -n10 /bin/tar -cf /ourdomain/root-new.tgz -C / --one-file-system --warning=no-file-ignored --warning=no-file-changed --warning=no-file-removed --use-compress-program=pigz root --atime-preserve --exclude=.cache --exclude=.cache/keyring-* --exclude-caches-all
/bin/mkdir /ourdomain
ionice -c2 -n7 nice -n10 /bin/tar -cf /ourdomain/usr-local-new.tgz -C / --one-file-system --warning=no-file-ignored --warning=no-file-changed --warning=no-file-removed --use-compress-program=pigz usr/local --atime-preserve
/bin/mkdir /ourdomain
ionice -c2 -n7 nice -n10 /bin/tar -cf /ourdomain/var-lib-new.tgz -C / --one-file-system --warning=no-file-ignored --warning=no-file-changed --warning=no-file-removed --use-compress-program=pigz var/lib --atime-preserve --exclude=var/lib/rpm --exclude=var/lib/yum --exclude=mysql/mysql.sock --exclude=gssproxy/default.sock --exclude=samba/private/msg.sock
/bin/mkdir /ourdomain
ionice -c2 -n7 nice -n10 /bin/tar -cf /ourdomain/var-backup-new.tgz -C / --one-file-system --warning=no-file-ignored --warning=no-file-changed --warning=no-file-removed --use-compress-program=pigz var/backup --atime-preserve
/bin/mkdir /ourdomain
ionice -c2 -n7 nice -n10 /bin/tar -cf /ourdomain/var-log-new.tgz -C / --one-file-system --warning=no-file-ignored --warning=no-file-changed --warning=no-file-removed --use-compress-program=pigz var/log --atime-preserve
/bin/mkdir /ourdomain
ionice -c2 -n7 nice -n10 /bin/tar -cf /ourdomain/var-spool-new.tgz -C / --one-file-system --warning=no-file-ignored --warning=no-file-changed --warning=no-file-removed --use-compress-program=pigz var/spool --atime-preserve
/bin/mkdir /ourdomain
ionice -c2 -n7 nice -n10 /bin/tar -cf /ourdomain/var-www-new.tgz -C / --one-file-system --warning=no-file-ignored --warning=no-file-changed --warning=no-file-removed --use-compress-program=pigz var/www --atime-preserve
/bin/mkdir /ourdomain
ionice -c2 -n7 nice -n10 /bin/tar -cf /ourdomain/var-yp-new.tgz -C / --one-file-system --warning=no-file-ignored --warning=no-file-changed --warning=no-file-removed --use-compress-program=pigz var/yp --atime-preserve
Second try renamed /ourdomain/home-users-new.tgz to /ourdomain/home-users.tgz
Edit: Eu recebi alguma ajuda de um dos mantenedores do Gnu Tar e aqui estava sua resposta: "Opções relacionadas à exclusão são" position-sensitive "; você precisa mover o argumento 'home / users' para o final do comando (after --exclude = aquota.user)."
Então, como usamos um script personalizado e um arquivo de configuração, estou fazendo o backup do aquota.user como um cron separado.