Issue An error occurred during the scheduled backup

Discussion in 'Plesk Onyx for Linux' started by Miller, Apr 20, 2017.

  1. Miller

    Miller New Pleskian

    0
    70%
    Joined:
    Apr 20, 2017
    Messages:
    6
    Likes Received:
    0
    Location:
    UK
    Since upgrading to Onyx v17.5.3_build1705170317.16 os_CentOS 7 every morning I am getting an email saying

    An error occurred during the scheduled backup.

    Domain: oneofmydomains.co.uk

    Plesk entry point: https://myserver.co.uk:8443/


    The following error occurred during the scheduled backup process:

    ----------------------------------------------------------

    There is no error displayed on the email, the backup it is referring to is a domain backup to ftp store
     
  2. UFHH01

    UFHH01 Plesk addicted! Plesk Guru

    43
    64%
    Joined:
    Jun 11, 2013
    Messages:
    5,380
    Likes Received:
    1,161
    Location:
    Hamburg / Germany
    Hi Miller,

    could you pls. go over to your Plesk Control Panel ( => Home > Tools & Settings > Backup Manager ) and check the current message(s) there?
    In addition, pls. note, that your corresponding log - files may document far better, what might be wrong or with issues/errors/problems. Pls. consider to attach the latest log(s) from => "/usr/local/psa/PMM/logs/"

    You might like as well the following KB - article for your informations:



    At the moment, there are too less informations for any other suggestions, how to solve your issue. ;)
     
  3. Miller

    Miller New Pleskian

    0
    70%
    Joined:
    Apr 20, 2017
    Messages:
    6
    Likes Received:
    0
    Location:
    UK
    No messages in the backup manager and I have added the log
     

    Attached Files:

  4. Miller

    Miller New Pleskian

    0
    70%
    Joined:
    Apr 20, 2017
    Messages:
    6
    Likes Received:
    0
    Location:
    UK
    The only thing I can see in the log is "Unable to find last incremental backup, because of current backup has no version mark in the file name", I have double checked and its not set to use incremental backups
     
  5. UFHH01

    UFHH01 Plesk addicted! Plesk Guru

    43
    64%
    Joined:
    Jun 11, 2013
    Messages:
    5,380
    Likes Received:
    1,161
    Location:
    Hamburg / Germany
    Hi Miller,

    pls. should consider to switch on the PASSIVE mode, to avoid such ( possible issues ).


    You could as well investigate the issue with the command:

    /usr/local/psa/admin/sbin/pmm-ras --check-repository --dump-storage YOUR-BACK-LOCATION.THE-DOMAIN.COM

    or

    /usr/local/psa/admin/sbin/pmm-ras --check-repository --dump-storage XXX.XXX.XXX.XXX
    ( where XXX.XXX.XXX.XXX has to be replaced with the IP of your storage )
     
  6. Miller

    Miller New Pleskian

    0
    70%
    Joined:
    Apr 20, 2017
    Messages:
    6
    Likes Received:
    0
    Location:
    UK
    Hi

    The backup is set to Passive mode, I have tried checking with the command but I just get 530 Login authentication failed so I think I am doing something wrong I am using the following

    /usr/local/psa/admin/sbin/pmm-ras --check-repository --dump-storage ftp://myusername:mypassword@ftp-backuplocation.co.uk//backups/


    This only started happening after upgrading to v17.5.3_build1705170317.16

    Thanks
     
  7. UFHH01

    UFHH01 Plesk addicted! Plesk Guru

    43
    64%
    Joined:
    Jun 11, 2013
    Messages:
    5,380
    Likes Received:
    1,161
    Location:
    Hamburg / Germany
    Hi Miller,

    the correct usage should be:
    Code:
    /usr/local/psa/admin/sbin/pmm-ras --check-repository --dump-storage=ftp://myusername:mypassword@ftp-backuplocation.co.uk/backups
    or
    to prompt for a password:
    Code:
    /usr/local/psa/admin/sbin/pmm-ras --check-repository --dump-storage=ftp://myusername@ftp-backuplocation.co.uk/backups
     
  8. Miller

    Miller New Pleskian

    0
    70%
    Joined:
    Apr 20, 2017
    Messages:
    6
    Likes Received:
    0
    Location:
    UK
    Sorry for the delay in coming back I have been off, the results are attached

    Could it be that its sending a false error report as there is no error on the email and Plesk says the backup is fine?

    The only thing I have noticed it that its not deleting the check folders, could this be the problem

    Thanks
     

    Attached Files:

  9. DenisG

    DenisG Plesk Team Plesk Team

    5
     
    Joined:
    Dec 18, 2016
    Messages:
    23
    Likes Received:
    10
    Location:
    Novosibirsk, Russia
    Could you attach the log file /usr/local/psa/PMM/logs/migration.log?
     
  10. Miller

    Miller New Pleskian

    0
    70%
    Joined:
    Apr 20, 2017
    Messages:
    6
    Likes Received:
    0
    Location:
    UK
    Sorry been away again, I have attached the migration log
     

    Attached Files:

  11. DenisG

    DenisG Plesk Team Plesk Team

    5
     
    Joined:
    Dec 18, 2016
    Messages:
    23
    Likes Received:
    10
    Location:
    Novosibirsk, Russia
    I see the error
    Probably you need to increase the limit of connections on the FTP storage.
     
    UFHH01 likes this.
  12. DenisG

    DenisG Plesk Team Plesk Team

    5
     
    Joined:
    Dec 18, 2016
    Messages:
    23
    Likes Received:
    10
    Location:
    Novosibirsk, Russia
    Also we shall get more details if we catch a core dump of pmm-ras command.
     
Loading...