Re: [BackupPC-users] Syntax for excluding .gvfs
2010-05-07 14:21:59
On Fri, May 7, 2010 at 6:49 PM, Allen <allen.stowe AT rogers DOT com> wrote:
>
> Tyler J. Wagner wrote:
>> On Friday 07 May 2010 12:45:45 Allen wrote:
>>
>>> This works for me:
>>> */.gvfs
>>>
>>
>> Does that match all subdirectories named .gvfs? Or does it only match
>> /home/*/.gvfs because you have /home as a share and your exclude is relative
>> to that?
>>
>> Regards,
>> Tyler
>>
>>
> Wow... This thread generated lots of comments for an exclude! :)
>
> Yes this is relative to /home thus resulting in exclusion for the
> /home/usersHomeDir/.gvfs directory for my Ubuntu hosts.
>
> Here is one of my rsync log extracts for /home so it's clear:
>
> incr backup started back to 2010-05-05 02:00:01 (backup #35) for directory
> /home
> Running: /usr/bin/ssh -q -x -l backupuid uhost103 /usr/bin/rsync --server
> --sender --numeric-ids --perms --owner --group -D --links --hard-links
> --times --block-size=2048 --recursive . /home/
> Xfer PIDs are now 27406
> Got remote protocol 30
> Negotiated protocol version 28
> Sent exclude: lost+found
> Sent exclude: aquota
> Sent exclude: Trash
> Sent exclude: */Pictures
> Sent exclude: **/tmp/*
> Sent exclude: */*cache*
> Sent exclude: */*Cache*
> Sent exclude: Cache/*
> Sent exclude: cache/*
> Sent exclude: */#SharedObjects/*
> Sent exclude: */.thumb*
> Sent exclude: */.gvfs
> Sent exclude: *.iso
> Sent exclude: *.img
>
>
> NOTE: Before I get spammed or chastised for the multiple Cache
> entries... this is to keep the exclude global variables as simple as
> possible for Windows & Linux hosts using rsync or rsyncd so I don't have
> multiple configs/templates.
>
>
> Allen...
The OP said that he is using tar and $Conf{RsyncArgs} directive...
------------------------------------------------------------------------------
_______________________________________________
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/
|
|
|