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!

cPanel backup script modification

Discussion in 'Data Protection' started by Wade John Beckett, Oct 9, 2018.

  1. Wade John Beckett

    Wade John Beckett Member

    Joined:
    May 29, 2017
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    South Africa
    cPanel Access Level:
    Root Administrator
    Hello,
    I trust you are well.

    I am trying to figure out how to change the standard cPanel backup script slightly.

    At present, the script seems to:

    1 - Creates compressed backups of each account.
    2 - Temporarily stores the backups in the defined backup directory.
    while
    3 - Copies the backup to a defined remote destination.
    then
    4 - Removes all the backups from the predefined backup directory.

    The slight modification I would like is:

    1 - Create a compressed backup file for the first account.
    2 - Temporarily store that backup in the defined backup directory.
    3 - Transport the backup file to the predefined remote directory.
    4 - Delete the backup for the first account.
    Then
    repeat steps 1-3 for each account.

    The benefit of this is that the backup destination only needs to be as big as the largest account on the server as opposed to being as big as the sum of all accounts on the server.

    Is this possible?
     
    misamd likes this.
  2. Infopro

    Infopro cPanel Sr. Product Evangelist Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,826
    Likes Received:
    475
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    There is no way for you to modify the actual script itself. But you can vote on existing Feature Requests already posted with proposed changes on our Feature Requests site located here:
    cPanel & WHM Feature Requests
    (You'll need to register an account there if you do not already have one.)

    Or, feel free to post a new Feature Request with your own proposed modifications.

    You can use the search tool, top right corner of that site to search for the term backup to locate other related Feature Requests.
     
    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