BackupPC-users

[BackupPC-users] Problem excluding hidden files and folders on Ubuntu 9.10 server using tar

2010-04-21 11:35:54
Subject: [BackupPC-users] Problem excluding hidden files and folders on Ubuntu 9.10 server using tar
From: Beat Flepp <beat.flepp AT net-scale DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 21 Apr 2010 11:07:20 -0400
Hi,

I have an issue when trying to exclude hidden files and folders on a Ubuntu 
9.10 server using the 'tar' method. Based on my configuration, backuppc claims 
to run

  /usr/bin/env LC_ALL=C /bin/tar -c -v -f - -C /home/backup --totals --
exclude='./.*' .

but the hidden files and folders do not get excluded, see log below.

When I run the EXACT SAME COMMAN manually on the same server under the backuppc 
user, it works just fine.

Any help is appreciated

Thanks,
Beat




Running: /usr/bin/env LC_ALL=C /bin/tar -c -v -f - -C /home/backup --totals --
exclude='./.*' .
full backup started for directory /home/backup
Xfer PIDs are now 15218,15217
./
/bin/tar: ./.bash_history: Cannot open: Permission denied
/bin/tar: ./.lesshst: Cannot open: Permission denied
./.subversion/
./.subversion/servers
/bin/tar: ./.subversion/auth: Cannot open: Permission denied
./.subversion/README.txt
./.subversion/config
./dstorage/
./dstorage/openldap/
./dstorage/openldap/ldapbackup-20071002-02:00:19.ldif
./dstorage/openldap/ldapbackup-20070923-02:00:19.ldif
./dstorage/openldap/ldapbackup-20071015-02:00:19.ldif
./dstorage/openldap/ldapbackup-20070909-02:00:19.ldif
./dstorage/openldap/ldapbackup-20071019-02:00:19.ldif
./dstorage/openldap/ldapbackup-20071016-02:00:19.ldif
./dstorage/openldap/ldapbackup-20071012-02:00:19.ldif
./dstorage/openldap/ldapbackup-20070929-02:00:19.ldif
./dstorage/openldap/ldapbackup-20071004-02:00:19.ldif
./dstorage/openldap/ldapbackup-20071010-02:00:19.ldif
./dstorage/openldap/ldapbackup-20070926-02:00:19.ldif
./dstorage/openldap/ldapbackup-20070906-14:17:39.ldif
./dstorage/openldap/ldapbackup-20070930-02:00:19.ldif
./dstorage/openldap/ldapbackup-20070911-02:00:19.ldif
./dstorage/openldap/ldapbackup-20071008-02:00:19.ldif
./dstorage/openldap/ldapbackup-20071007-02:00:19.ldif
./dstorage/openldap/ldapbackup-20071018-02:00:19.ldif
./dstorage/openldap/ldapbackup-20070928-02:00:19.ldif
./dstorage/openldap/ldapbackup-20070912-02:00:19.ldif
tarExtract: Got file './', mode 0755, size 0, type 5
  create   755   599/599           0 .
tarExtract: Got file './.subversion/', mode 0755, size 0, type 5
  create   755   599/599           0 .subversion
tarExtract: Got file './.subversion/servers', mode 0644, size 3619, type 0
  pool     644   599/599        3619 .subversion/servers
tarExtract: Got file './.subversion/README.txt', mode 0644, size 4276, type 0
  pool     644   599/599        4276 .subversion/README.txt
tarExtract: Got file './.subversion/config', mode 0644, size 5786, type 0
  pool     644   599/599        5786 .subversion/config
tarExtract: Got file './dstorage/', mode 0755, size 0, type 5
  create   755   599/599           0 dstorage
tarExtract: Got file './dstorage/openldap/', mode 0755, size 0, type 5
  create   755   599/599           0 dstorage/openldap
tarExtract: Got file './dstorage/openldap/ldapbackup-20071002-02:00:19.ldif', 
mode 0744, size 151320, type 0
  pool     744   599/599      151320 dstorage/openldap/ldapbackup-20071002-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20070923-02:00:19.ldif', 
mode 0744, size 149698, type 0
  pool     744   599/599      149698 dstorage/openldap/ldapbackup-20070923-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20071015-02:00:19.ldif', 
mode 0744, size 153613, type 0
  pool     744   599/599      153613 dstorage/openldap/ldapbackup-20071015-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20070909-02:00:19.ldif', 
mode 0744, size 138301, type 0
  pool     744   599/599      138301 dstorage/openldap/ldapbackup-20070909-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20071019-02:00:19.ldif', 
mode 0744, size 154251, type 0
  pool     744   599/599      154251 dstorage/openldap/ldapbackup-20071019-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20071016-02:00:19.ldif', 
mode 0744, size 153613, type 0
  pool     744   599/599      153613 dstorage/openldap/ldapbackup-20071016-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20071012-02:00:19.ldif', 
mode 0744, size 152887, type 0
  pool     744   599/599      152887 dstorage/openldap/ldapbackup-20071012-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20070929-02:00:19.ldif', 
mode 0744, size 151320, type 0
  pool     744   599/599      151320 dstorage/openldap/ldapbackup-20070929-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20071004-02:00:19.ldif', 
mode 0744, size 151320, type 0
  pool     744   599/599      151320 dstorage/openldap/ldapbackup-20071004-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20071010-02:00:19.ldif', 
mode 0744, size 152310, type 0
  pool     744   599/599      152310 dstorage/openldap/ldapbackup-20071010-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20070926-02:00:19.ldif', 
mode 0744, size 149721, type 0
  pool     744   599/599      149721 dstorage/openldap/ldapbackup-20070926-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20070906-14:17:39.ldif', 
mode 0744, size 138254, type 0
  pool     744   599/599      138254 dstorage/openldap/ldapbackup-20070906-
14:17:39.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20070930-02:00:19.ldif', 
mode 0744, size 151320, type 0
  pool     744   599/599      151320 dstorage/openldap/ldapbackup-20070930-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20070911-02:00:19.ldif', 
mode 0744, size 138301, type 0
  pool     744   599/599      138301 dstorage/openldap/ldapbackup-20070911-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20071008-02:00:19.ldif', 
mode 0744, size 152745, type 0
  pool     744   599/599      152745 dstorage/openldap/ldapbackup-20071008-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20071007-02:00:19.ldif', 
mode 0744, size 152745, type 0
  pool     744   599/599      152745 dstorage/openldap/ldapbackup-20071007-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20071018-02:00:19.ldif', 
mode 0744, size 153613, type 0
  pool     744   599/599      153613 dstorage/openldap/ldapbackup-20071018-
02:00:19.ldif
tarExtract: Got file './dstorage/openldap/ldapbackup-20070928-02:00:19.ldif', 
mode 0744, size 149709, type 0


------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>
  • [BackupPC-users] Problem excluding hidden files and folders on Ubuntu 9.10 server using tar, Beat Flepp <=