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.

Upload missing backup to Amazon S3

Discussion in 'Data Protection' started by Pere Vinyeta, Sep 16, 2016.

Tags:
  1. Pere Vinyeta

    Pere Vinyeta Member

    Joined:
    Feb 10, 2013
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Barcelona
    cPanel Access Level:
    Root Administrator
    I made a backup of a 400Gb account. I expected this to generate the relevant tar.gz file and, afterwards, to be uploaded to my Amazon S3 account and be deleted from the server. The result has been that the tar.gz file has been created in the server but has not been uploaded to Amazon. I ask, how can I manually make the file be uploaded? I cannot download to my computer and then upload to Amazon for it takes extremely long. Thank you!
     
  2. NixTree

    NixTree Well-Known Member

    Joined:
    Aug 19, 2010
    Messages:
    386
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gods Own Country
    cPanel Access Level:
    Root Administrator
    Hi

    To manually upload you need to use the below command

    ## s3cmd put backup.tar.gz s3://yours3bucket/

    If you do not have s3cmd command installed, then you might need to manually install it using below command

    # yum install s3cmd

    and then configure it using below command

    # s3cmd --configure

    Hope this helps
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    649
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    The instructions in the previous post should help. Note that it's possible a timeout issue prevented the upload during the initial backup process, as 400G is considered a very large backup archive to transfer to a remote destination.

    Thank you.
     
Loading...

Share This Page