BackupPC-users

Re: [BackupPC-users] How to save all directories expected .....

2009-07-10 16:51:12
Subject: Re: [BackupPC-users] How to save all directories expected .....
From: Chris Robertson <crobertson AT gci DOT net>
To: backuppc-users AT lists.sourceforge DOT net
Date: Fri, 10 Jul 2009 12:44:11 -0800
glubby wrote:
> Hi,
>
> I'm a new user of BackupPC. I'm using it to make a backup of some of my linux 
> servers. It is working pretty well but there is some large log file on my 
> servers I don't need to backup.
>
> I look over the forum but I didn't find anything.

Heh.  You might also want to read through the documentation...

http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_backupfilesexclude_

>  So, I was wondering if there is someone who knew how to save all directories 
> exepected those whose name are "log" (for example) ?

This depends on how your backups are set up (smbclient being a special 
case, apparently), but in general...

$Conf{BackupFilesExclude} = { '*' => [ '/log' ] };

...should prevent a directory named "log" from being backed up.

>  If it is possible, of course !!!
>
> Thank you for your help
> David
>   

Chris


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
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/