The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Horde not fully backed up?

Discussion in 'General Discussion' started by matthewdavis, Sep 22, 2006.

  1. matthewdavis

    matthewdavis Well-Known Member

    Joined:
    Jun 26, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NC, USA
    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

    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);
          }
    
    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.
     
Loading...

Share This Page