I think what he is trying to achieve is a backup of everthing minus the exclude plus the specified include (which is within one of the excludes).
I would take the approach of configuring two backups. One would start at root (/) and exclude using the list from above. The second backup would start with the base directory in /opt/zimbra/backup and exclude nothing. You could do this as one backup, but the include/exclude would be difficult (the way you have it won't work), and would be prone to in/ex-clude stuff you didn't intend to. On 8/22/08, Ward... James Ward <[EMAIL PROTECTED]> wrote: > 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'; > > I'm using tar as the backup method. > > Ward... James Ward > [EMAIL PROTECTED] > Linux Sysadmin > (520) 290-0910x268 > ICQ: 201663408 -- Sent from Gmail for mobile | mobile.google.com Jonathan 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@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/