Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-23986

Fix remote backups failing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: None
    • Affects Version/s: 13, 14
    • Fix Version/s: None
    • Component/s: Backup & Restore
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      13
    • Distro:
      Self Install CentOS 6.X

      Description

      Using the latest released version of backup for FPBX v13, SSH backup fails on the remote server when a MySQL backup is involved.  It also affects v14.  The following changes to the code will fix it.  I don't have a signed CLA in place so I cannot submit a pull request myself.

      
      bin/backup.php, line 268
      
      $b->add_items(false);
      

       

      
       functions.inc/class.backup.php, line 268
      
      
       //Do not log backups initiated remotely, which causes them to fail 
      ($vars) ? backup_log('server -'.$s) : false;
      

       

      
      functions.inc/class.backup.php, line 373
      
      
      //Do not log backups initiated remotely, which causes them to fail
      ($vars) ? backup_log($message) : false;
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shomi Sam Shomi
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.