Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Custom Transport Timeout > 300 seconds

Discussion in 'Data Protection' started by jgillmanjr, Mar 31, 2015.

  1. jgillmanjr

    jgillmanjr Active Member
    PartnerNOC

    Joined:
    Feb 9, 2012
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Lansing, MI
    cPanel Access Level:
    DataCenter Provider
    Greetings!

    So I wrote a custom transport script to work with Liquid Web's Object Storage (github.com/liquidweb/cPanelToObjectStore), however during testing, one of the account backups is rather.. hefty (~13Gigs).

    Looking at the logs the script generates, it does indeed appear to stop the transfer mid-run after about 300 seconds.

    Is there a way to set a timeout > 300 seconds?

    Thanks!

    -Jason
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 jgillmanjr, Mar 31, 2015
    Last edited by a moderator: Apr 1, 2015
  2. jgillmanjr

    jgillmanjr Active Member
    PartnerNOC

    Joined:
    Feb 9, 2012
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Lansing, MI
    cPanel Access Level:
    DataCenter Provider
    Found out you can just edit the destination config in /var/cpanel/backups/
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You can also change the maximum destination timeout value in:

    "WHM Home » Backup » Backup Configuration"

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. jgillmanjr

    jgillmanjr Active Member
    PartnerNOC

    Joined:
    Feb 9, 2012
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Lansing, MI
    cPanel Access Level:
    DataCenter Provider
    Doesn't seem to be a limit for the main backup timeout value.

    However, for the additional transports, you're looking at 300 seconds max (it will complain if you make it higher within the interface).

    Editing the backup destination config directly seems to do the trick though.
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    There are two values you can change. One in the main backup configuration interface, and the other when editing the destination itself.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice