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.

cPanel backups are failing - Unable start backup script

Discussion in 'Data Protection' started by davids355, Dec 17, 2013.

  1. davids355

    davids355 Member

    Joined:
    Dec 17, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have cpanel backups configured to back up to an FTP server every day of the week, and once per month.
    The FTP server is showing as active and the settings confirmed correct.

    Everything was running fine until 1st December 2013.
    Since then, no more backups are present on the ftp server.

    Each night, when the backup runs, I get the following notification via email:

    "Unable start backup script".

    the only things I have tried to troubleshoot are:
    checked free space on cpanel server - its fine.
    checked free space on FTP server - its fine.
    verified FTP backup location - fine.
    Disabled and re-enabled backup on cpanel interface - makes no difference.

    I am not sure what to do next??
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please try forcing a generation of your backups via:

    Code:
    /usr/local/cpanel/bin/backup --force
    Once it starts, monitor the log file for the backup that is listed when running the command and let us know if you notice any particular error messages. Also, look for any error messages in:

    Code:
    /usr/local/cpanel/logs/cpbackup_transporter.log
    Thank you.
     
  3. davids355

    davids355 Member

    Joined:
    Dec 17, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I run the command to force the backup.
    I immediately got the following:

    Code:
    info [backup] Backup process currently running. Pid: 30789
    Not sure if that was just indicating my command was successful, or if it was indicating that backup was already running?

    Then I run the command to watch the log, and I see this:

    Code:
    Storing SSL domain......Done
    Copying password.......Done
    Copying shell.......Done
    Creating Archive ..............
    Done
    pkgacctfile is: /backup/2013-12-01/accounts/sitename.tar.gz
    
    size is: 4268123
    
    homesize is: 3350528
    
    It strikes me as being a bit strange that the path still shows 2013-12-01 - thats the day of the last successful backup.
    Is the backup stuck?
    Should I kill that process?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Are you viewing the log file that was presented to you when running the command to start a backup generation? If so, please check the date on your system:

    Code:
    date
    Thank you.
     
  5. davids355

    davids355 Member

    Joined:
    Dec 17, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    When I forced backup, it showed me log path and how to view it in real time I beleive.
    That's the one I looked at.

    Just run date command and it shows Tues 17th dec.

    I can rerun and post the exact output of everything if it would be more helpful?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look? It's likely just generating your monthly backups if you have them enabled, but we can verify that. Feel free to post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  7. davids355

    davids355 Member

    Joined:
    Dec 17, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    ^^thanks.
    FYI
    Your Request id is: 4422927.
     
  8. davids355

    davids355 Member

    Joined:
    Dec 17, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Wow, all sorted. Thanks cpanel!!
    (Apparently it was a previous backup that was stuck).
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    To update, this issue was resolved by killing a previous backup process that was hanging. After killing that process, starting a new backup generation was successful.

    Thank you.
     
Loading...

Share This Page