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

FTP backup fails and fails to report as error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 15
    • Fix Version/s: None
    • Component/s: Backup & Restore
    • Labels:
      None
    • Sprint:
      Sprint 12!
    • ToDo:
    • Asterisk Version:
      16.3
    • Distro Version:
      15

      Description

      filestor location defined correctly and ftp confirmed via command line 

       

      when backup runs we see ...

      
      Finished created backup file: /var/spool/asterisk/backup/Default_backup_-_no_mods/20190827-234010-1566963610-15.0.16.10-153981559.tar.gz
      Performing Local Maintenance
      Removing /var/spool/asterisk/backup/Default_backup_-_no_mods/20190818-180003-1566165603-15.0.16.7-1716789701.tar.gz
      Finished Local Maintenance
      Performing Remote Maintenance
      Could not login with connection: localhost::21, username: joe
      Finished Remote Maintenance
      Saving to selected Filestore locations
      Could not login with connection: localhost::21, username: joe
      Finished Saving to selected Filestore locations
      Generated Backup process result email to joe@blow.com
      Backup completed successfully

      it appears we are inserting an extra : and the connection fails 

      additionally the only storage location selected failed and the backup did not complain ... behaved as if it had successfully when it hasn't - if a backup job fails at storing the backup the job needs to fail and kick off an email alert if configured 

       

      in testing we should confirm the email alert works if ftp backup job correctly reports failed when this is fixed 

       

       

       

       

      some other issues i will report in another ticket 

        Gliffy Diagrams

          Attachments

          1. backup log.txt
            26 kB
          2. Capture.JPG
            Capture.JPG
            64 kB
          3. ftpbackup.png
            ftpbackup.png
            41 kB
          4. ftp works.png
            ftp works.png
            65 kB
          5. Screen Shot 2019-08-27 at 11.43.20 PM.png
            Screen Shot 2019-08-27 at 11.43.20 PM.png
            58 kB

            Activity

              People

              • Assignee:
                mmishra Mohit Mishra
                Reporter:
                dolesec Chris Dolese
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

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