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!

Force Backup now

Discussion in 'Data Protection' started by kayyy, Mar 22, 2014.

  1. kayyy

    kayyy Active Member

    Joined:
    Mar 12, 2014
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    DataCenter Provider
    hello,

    i tried to force the backup via /scripts/cpbackup --force

    and i get a

    [cpbackup] Backup Not Enabled (This can be adjusted in WHM => Backup => Legacy Backup Configuration)

    But i`m using not the Legacy Backup, i`m using the "normal" backup that stores all files on amazon s3.

    How can i force that cpanel does a backup now and upload all backups to s3 ?

    Fruthermore i get a error message for one acc.

    Code:
    Unable to send “/backup/2014-03-21/accounts/shopware.tar.gz†to destination “shopware02â€
    Two other accounts were sucessfull uploaded to s3.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,518
    Likes Received:
    425
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kayyy

    kayyy Active Member

    Joined:
    Mar 12, 2014
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    DataCenter Provider
    Thanks that worked for me.

    But why does cPanel storage the backups in /backups too ?

    I disabled "Retain backups in the default backup directory." in the Backup Configuration.

    And if i want to restore a backup i have to copy the files from my s3 to /backups right ?
    Because currently i cant restore a backup, i think because it`s not avabile in /backups.
     
  4. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    575
    Likes Received:
    20
    Trophy Points:
    143
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The files must be first stored locally (in /backups) before being transferred to S3 (or any other remote location). They are removed after the files have been successfully transferred to their location.

    You should be able to restore unless you have also removed the files from the S3 bucket.
     
    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