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.