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.

How To Delete Backups From /backup

Discussion in 'Data Protection' started by Joydeep Mondal, Aug 5, 2017.

Tags:
  1. Joydeep Mondal

    Joydeep Mondal Registered

    Joined:
    Aug 5, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Hi, I was enabled auto backup on /backup folder (WHM) 5 rotation daily. Now I have changed it to 1 rotation weakly. But I am unable to delete my already stored backups. It's showing on cpanel backups but not in file manager. How can I delete them ?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    You can adjust the "Retention" setting in "WHM >> Backup Configuration" to change how many backups are stored. It's explained in more details at:

    Backup Configuration - Documentation - cPanel Documentation

    You'd need to access the server via SSH or SFTP as root and manually delete the archives from the configured backup directory if you want them removed before the next automatic backup generation.

    Thank you.
     
  3. Joydeep Mondal

    Joydeep Mondal Registered

    Joined:
    Aug 5, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    May I have the path please ?
     
  4. webhostuk

    webhostuk Well-Known Member

    Joined:
    Sep 11, 2013
    Messages:
    113
    Likes Received:
    11
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    You can SSH the server go to the Backup folder and if you wish to remove all the previous backup just remove backup using command : rm -rf

    Note : make 100% sure you are in backup folder before firing this command.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,428
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    You can access the server via SSH or SFTP and remove the backup archives from the local backup directory you configured in "WHM >> Backup Configuration. The default path is "/backup/$date/accounts/".

    Thank you.
     
Loading...

Share This Page