Paul Fox writes:

> i'm resending this question, since i don't believe i saw a
> response.  is anyone else successfully using BackupFilesExclude
> with the tar method?
> 
> (i'd simply add the "--exclude" args to the tarcmd itself, except
> i see from the docs that there's trickery involved in escaping
> wildcard characters.)
> 
> i wrote:
>  >  > > i'd like to be able to flag any file or directory that i want
>  >  > > backuppc to skip by adding a "._nobackup_" suffix to its name.
>  >  > > 
>  >  > > will this do the trick?  (backup method is tar)
>  >  > > 
>  >  > >     $Conf{BackupFilesExclude} = { '/proc'. '*._nobackup_' };
> 
> craig wrote:
>  >  > 
>  >  > You need a comma instead of a period.  Otherwise it should work.

Actually, you need [] instead of {}, in addition to a comma
instead of a period:

    $Conf{BackupFilesExclude} = [ '/proc', '*._nobackup_' ];

Look at the full tar command at the top of the XferLOG file.

Craig


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to