BackupPC-users

Re: [BackupPC-users] file exclude not working

2010-06-28 12:30:45
Subject: Re: [BackupPC-users] file exclude not working
From: Sri Rao <sri AT cloudflare DOT com>
To: ryan AT devision DOT us, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 28 Jun 2010 09:22:46 -0700
Thanks Ryan.  I will try that but wondering why the BackupFilesExclude is not working.  I would think that it would either add the --exclude args to the list or from what it seems to be doing sending the exclude over the connection.

One other piece I forgot to mention is I am using a restricted shell to only allow rsync so not sure if that might be another reason for it not working.  The command that is sent is being run so it doesn't seem to be cause of the issue.

Sri

On Mon, Jun 28, 2010 at 7:48 AM, Ryan Manikowski <ryan AT devision DOT us> wrote:
On 6/27/2010 4:47 PM, Sri Rao wrote:
Hi,

I am new to backuppc.  I have setup the server and it is backing things okay except in one instance.  I am trying to backup a machine specifying multiple sharenames.  For one of the shares I want to exclude some subdirs from being backed up.  I am using the rsync method.  For some reason it doesn't seem to be excluding that subdir though.  Here is the log:

Running: /usr/bin/ssh -q -x -l backuppc xxxx /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /usr/var/lib/perceus/

Xfer PIDs are now 9350
Got remote protocol 30
Negotiated protocol version 28
Sent exclude: /usr/var/lib/perceus/vnfs/*/rootfs/proc/*
Remote[2]: file has vanished: "/usr/var/lib/perceus/vnfs/gravityos-cf-logger/rootfs/proc/2/exe"

Remote[2]: file has vanished: "/usr/var/lib/perceus/vnfs/gravityos-cf-logger/rootfs/proc/2/task/2/exe"
Remote[2]: file has vanished: "/usr/var/lib/perceus/vnfs/gravityos-cf-logger/rootfs/proc/3/exe"


I have set the sharenames and in BackupFilesExclude set the key to be the share /usr/var/lib/perceus and the value to 
/usr/var/lib/perceus/vnfs/*/rootfs/proc/* .  What am I doing wrong?

Thanks for the help!


Sri
  

------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________ 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/

In the Xfer section of the config for the client host, enter this for RsyncArgs:

--exclude=/path/to/exclude


Add an additional '--exclude' entry for each subdir that you want excluded. To add additional, click the 'add' or 'insert' buttons.


Ryan Manikowski

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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/


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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>