backuppc: Fixed DB Function