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.

Unable to prune transport S3

Discussion in 'Data Protection' started by bbf, Feb 7, 2017.

  1. bbf

    bbf Member

    Joined:
    Feb 21, 2008
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    WHM 60.0 (build 36)
    CENTOS 7.3 x86_64 virtuozzo

    Backing accounts to S3.
    Files are successfully transferred to S3.

    But getting this email error every time the backup runs:

    Code:
    SUBJECT: Backup transport errors.
    
    BODY:
    Transport errors encountered.
    The system encountered errors during transport of the backup files. Below is a preview of the attached log file.
    
    Preview of transport errors log:
    Unable to prune transport “S3”
    Unable to remove outdated backup: The server has stopped responding at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Amazon/S3/Bucket.pm line 333.
    This notice is the result of a request from “cpbackup”.
    The host sent me the log:

    Code:
    2017-02-04 01:22:56 -0500] info [cpbackup_transporter] Attempting to upload /backup/2017-02-04/accounts/tbgas.tar.gz to /2017-02-
    04/tbgas.tar.gz for destination: S3
    [2017-02-04 01:22:56 -0500] info [cpbackup_transporter] Upload attempt #1 starting for /backup/2017-02-04/accounts/tbgas.tar.gz to
    /2017-02-04/tbgas.tar.gz for destination: S3
    [2017-02-04 01:22:56 -0500] info [cpbackup_transporter] Successful transfer of /backup/2017-02-04/accounts/tbgas.tar.gz to /2017-0
    2-04/tbgas.tar.gz for destination S3
    [2017-02-04 01:22:56 -0500] info [cpbackup_transporter] cpbackup_transporter - Checking queue for tasks
    [2017-02-04 01:22:56 -0500] info [cpbackup_transporter] cpbackup_transporter - Processing next task
    [2017-02-04 01:22:56 -0500] info [cpbackup_transporter] Instantiating Object
    [2017-02-04 01:22:56 -0500] info [cpbackup_transporter] Starting a "prune" operation on the "S3" destination ID "REDACTED".
    [2017-02-04 01:22:56 -0500] info [cpbackup_transporter] Performing prune operation, retaining 5 items on: S3
    [2017-02-04 01:22:56 -0500] warn [cpbackup_transporter] Unable to prune: The server has stopped responding at /usr/local/cpanel/3
    rdparty/perl/522/lib64/perl5/cpanel_lib/Amazon/S3/Bucket.pm line 333.
    at /usr/local/cpanel/Cpanel/LoggerAdapter.pm line 27.
    Cpanel::LoggerAdapter::warn(Cpanel::LoggerAdapter=HASH(0xcc1298), "Unable to prune: The server has stopped responding at
    /usr/l"...) called at /usr/local/cpanel/Cpanel/Backup/Queue.pm line 535
     
    #1 bbf, Feb 7, 2017
    Last edited by a moderator: Feb 7, 2017
  2. SB-Nick

    SB-Nick Well-Known Member

    Joined:
    Aug 26, 2008
    Messages:
    172
    Likes Received:
    8
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    I would make sure that cPanel is able to validate the S3 destination. If its validated already, try increasing the timeouts.
     
  3. bbf

    bbf Member

    Joined:
    Feb 21, 2008
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51

    "Files are successfully transferred to S3." so the destination is validated.
     
  4. teo_

    teo_ Member

    Joined:
    Nov 21, 2008
    Messages:
    13
    Likes Received:
    1
    Trophy Points:
    53
    Same issue here with S3.
    I have another destination for the backup with SFTP and I have the unable to prune error there too.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,021
    Likes Received:
    1,276
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Check to ensure you have setup a valid policy using the steps quoted below:

    Note that internal case CPANEL-10498 is included in cPanel version 62 to ensure the remote destination validation test fails when the necessary privileges are not in-place, and updated documentation on how to configure Amazon S3 destinations is scheduled for publication in the near future.

    Thank you.
     
    Daveyy likes this.
Loading...

Share This Page