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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Check backup configuration from SSH

Discussion in 'Data Protection' started by Saad Ismail, Jul 14, 2017.

Tags:
  1. Saad Ismail

    Saad Ismail Registered

    Joined:
    Mar 14, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pakistan
    cPanel Access Level:
    Root Administrator
    Hi,

    Is there anyway superuser can check either cPanel backups are enabled or not, which is local directory where backups are being stored & what is the retention?

    We're in between an audit in which we're checking the server's backup configuration, retention & verifying backups. Since we've more than a hundred servers so we really want to automate this task by writing bash script to do this. It will be really helpful if we can check the backup configuration from SSH.

    Thanks
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,484
    Likes Received:
    60
    Trophy Points:
    28
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    You can check the configuration using the below command.
    # cat /var/cpanel/backups/config
     
  3. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The previous posts should help. Let us know if you have any additional questions.

    Thanks!
     
Loading...

Share This Page