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.

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:
    1
    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
     
    #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:
    1
    Location:
    Lansing, MI
    cPanel Access Level:
    DataCenter Provider
    Found out you can just edit the destination config in /var/cpanel/backups/
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. jgillmanjr

    jgillmanjr Active Member
    PartnerNOC

    Joined:
    Feb 9, 2012
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    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:

  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    There are two values you can change. One in the main backup configuration interface, and the other when editing the destination itself.

    Thank you.
     
Loading...

Share This Page