Hello All,
I'm having a terrible time trying to get BackupPC to backup just one single
directory. The directory I want to grab is /var/lib/mysql/backups. I only
want to backup the contents of this directory and subdirectories, NOT
everything in /var/lib/mysql. So, here are some conifgs:
/etc/backuppc/pc/serverConfig.pl:
$Conf{FullKeepCnt} = [
0
];
$Conf{IncrKeepCnt} = 0;
$Conf{FullKeepCntMin} = 0;
$Conf{BackupFilesOnly} = {
'/var/lib/mysql/backups' => [
'',
'/var/lib/mysql/backups'
]
};
/etc/backuppc/config.pl snippet:
$Conf{BackupFilesExclude} = {
'/' => [
'/proc',
'/var/named/chroot/proc',
'/sys',
'/var/lib/mysql',
'/tmp',
'/var/spool/mqueue',
'/var/cache',
'/var/log',
'/var/spool/mail',
'/USBDrive',
'/opt/mysql'
],
'C$' => [
'\\WINDOWS\\system32\\config\\*',
'\\WINDOWS\\Temp\\*'
]
};
This configuration isn't backing up the /var/lib/mysql/backups folder. If I
use a server specific override list of things to exclude, and leave OFF the
/var/lib/mysql directory, the entire /var/lib/mysql directory is backed up.
Right now I'm pretty stuck on how to force backupPC to backup only one
directory on a specific server without affecting the backups of every other
server under BUPCs reach. Any insight would be hugely appreciated.
Thanks,
Nate
+----------------------------------------------------------------------
|This was sent by nate AT intela DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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/
|