Re: [BackupPC-users] Exclude and Only combo
2008-08-22 16:21:10
James writes:
> I need to back up a Zimbra mail server, but I can't get the whole thing in
> any reasonable amount of time. I want to exclude the usual stuff:
>
> $Conf{BackupFilesExclude} = ['/proc', '/sys', '/mnt'];
>
> But I also want to exclude all of /opt, except /opt/zimbra/backup.
>
> Is this the right way to go about this:
>
> $Conf{BackupFilesExclude} = ['/proc', '/sys', '/mnt', '/opt'];
> $Conf{BackupFilesOnly) = '/opt/zimbra/backup';
Assuming you only want to backup that one directory and nothing
else, since all the excludes are outside/above the one directory
you want all you need is:
$Conf{BackupFilesOnly) = '/opt/zimbra/backup';
Leave $Conf{BackupFilesExclude} empty.
An alternative is to use '/opt/zimbra/backup' for $Conf{TarShareName}
and leave both $Conf{BackupFilesOnly) and $Conf{BackupFilesExclude}
empty.
Craig
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/
|
|
|