Am I reading this code properly? Does the backup script only backup data from the turba_objects table only? What about the other tables customers might have data in ( kronolith_events, nag_tasks, etc)
From around line 470 in /scripts/cpbackup
I only ask because after a /scripts/upcp --force, somehow the kronolith_* tables lost all data and in the process of recovering the data, there was none to recover.
From around line 470 in /scripts/cpbackup
Code:
if ($> == 0) {
open(SQL,">","${tarroot}/${prefix}${user}/mysql/horde.sql");
my $pid = open(MYSQLDUMP,"-|");
if ($pid) {
use bytes;
while(<MYSQLDUMP>) { print SQL; }
no bytes;
} else {
open(STDERR,">/dev/null");
my $dnslist = join("|",@DNS);
exec("mysqldump","-c","-Q","-q","-t","-w","owner_id REGEXP '@(${dnslist})\$'","horde","turba_objects");
exit(1);
}
close(SQL);
close(MYSQLDUMP);
}