BackupPC-users

[BackupPC-users] Exclude Hidden files (Linux + SSH + tar)

2009-09-24 21:22:46
Subject: [BackupPC-users] Exclude Hidden files (Linux + SSH + tar)
From: kadamba <backuppc-forum AT backupcentral DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 24 Sep 2009 04:34:32 -0400
Hi

I've installed BackupPC on Debian Lenny to backup Ubuntu Desktops (/home for 
all), I need to exclude all hidden files which is taking up lots of space. My 
focus is on user data files.

With reference to this article 
http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/backuppc-21/how-to-include-certain-files-76171/
 I tried the following (excuse me, i am perl ignorant )

1st. $Conf&#123;BackupFilesExclude&#125; = &#123; '*' => &#91;'.*'&#93;&#125;;
2nd. $Conf&#123;BackupFilesExclude&#125; = &#123; '*' => &#91;'.*'&#93;,&#125;;
3rd. $Conf&#123;BackupFilesExclude&#125; = &#123;'*' => &#91;'.*', 
'*/.*'&#93;,&#125;
4th. $Conf&#123;BackupFilesExclude&#125; = &#123;'*' => &#91;'.*', 
'*/.*'&#93;&#125;


All the above trials are generating these errors:
1. When I try to browse backup of the host it says "Error: Can't browse bad 
directory name /<username>"
2. LOG file: Got fatal error during xfer (No files dumped for share /home)
3. XferLOG, Errors: Running: /usr/bin/ssh -q -x -n -l root sandeep-laptop env 
LC_ALL=C /bin/tar -c -v -f - -C /home --totals --newer=2009-09-23\ 09:00:00 
--exclude=.\* .
incr backup started back to 2009-09-23 09:00:00 (backup #4) for directory /home
Xfer PIDs are now 29488,29487
[ skipped 1 lines ]
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal

Other Info:
1. In Status page Failures that need attention has nothing
2. In the Host Summary web page it would say "done"

Thanks!

+----------------------------------------------------------------------
|This was sent by sandeep.sagar AT cyrusgroup DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
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>