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.

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:
    14,455
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  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:
    569
    Likes Received:
    15
    Trophy Points:
    18
    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.
     
Loading...

Share This Page