BackupPC-users

Re: [BackupPC-users] Exclude from backup

2009-06-26 13:52:56
Subject: Re: [BackupPC-users] Exclude from backup
From: Vladislav Tchernev <vladislav.tchernev AT broadsign DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 26 Jun 2009 13:46:35 -0400
Thank you guys for your feedback. FYI the "XferMethod" I am using is rsync and 
the suggested config listed bellow is working. Apparently, one have to 
specify a share(s) in "RsyncShareName" and use it in "BackupFilesExclude" to 
specify what exactly to be excluded under that share.

$Conf{BackupFilesExclude} = {
  '*' => [
    '/proc',
    '/sys'
  ]
};


Best regrads
Vlad

On Friday 26 June 2009 11:00:08 Vladislav Tchernev wrote:
> Hi All,
> I am new to backuppc and was trying to figure out how to exclude dir/files
> from a backup. I have played around with the GUI, setting
> Xfer->BackupFilesExclude  and  Xfer->RsyncArgs (--exclude="..."),  as well
> as directly editing the conf files (the global and the host specific ones)
> but without success. What I have tried to do is to exclude /proc but it
> seems I can't manage to get rid of it since the error log keeps complining
> about it. Bellow are some settings (I ended setting thouse directly in the
> config.pl) I have tried.
>
> FYI: Am using backuppc-3.1.0-3 on Ubuntu 8.10
>
> Thanks for your helps!
> Vlad
>
> #1
> $Conf{RsyncArgs} = [
>   '--numeric-ids',
>   '--perms',
>   '--owner',
>   '--group',
>   '-D',
>   '--links',
>   '--hard-links',
>   '--times',
>   '--block-size=2048',
>   '--recursive',
>   '--exclude="/proc"'
>
> #2
> $Conf{RsyncArgs} = [
>   '--numeric-ids',
>   '--perms',
>   '--owner',
>   '--group',
>   '-D',
>   '--links',
>   '--hard-links',
>   '--times',
>   '--block-size=2048',
>   '--recursive',
>   '--exclude', '/proc'
>
> #3
> $Conf{BackupFilesExclude} = {
>   '/proc' => ['/*']
> };
>
> #3
> $Conf{BackupFilesExclude} = {
>   '/proc' => ['./*']
> }
>
> #4
> $Conf{BackupFilesExclude} = {
>   '/proc/' => ['*']
> };
>
> #4
> $Conf{BackupFilesExclude} = {
>   '/proc/' => ['']
> };
>
> Thanks!
> Vlad
>
> ---------------------------------------------------------------------------
>--- _______________________________________________
> 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/



-- 
Vladislav Tchernev
Senior System Administrator
Broadsign International
Phone: (514)399-1184
Fax:   (514)399-1187

------------------------------------------------------------------------------
_______________________________________________
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>