Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Dec 2003
    Location
    Earth
    Posts
    146

    Lightbulb Back Up Config

    Is there a way to back up some sites daily and other monthly?

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Not that I'm aware of.

  3. #3
    Member
    Join Date
    Dec 2003
    Location
    Earth
    Posts
    146

    Default

    Can resellers set up automated back ups for their clients or can automated back ups be done at the client level?

  4. #4
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    Quote Originally Posted by PCZero View Post
    Can resellers set up automated back ups for their clients or can automated back ups be done at the client level?
    It is not possible from WHM. However, if you wish then you can create shell scripts to do it. Users can generate/download backup from cPanel using "Backups" option.

  5. #5
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Arrow Friendly Moderator Note

    I've relocated this thread into the Data Protection discussion forum as it relates to backup configurations and applicable customization.

    Automated backups as configured in WHM (via root access) are performed server-wide and are not currently customizable by resellers or end-users; however, it is technically possible for users to create and use custom scripts to automate downloading backups via cPanel.

  6. #6
    Member
    Join Date
    Dec 2003
    Location
    Earth
    Posts
    146

    Default

    Thanks Don... I was thinking along those lines, but it would be nice to have this ability at WHM level in a future release. Sort of an accoutn by account back up level.

    My situation is that I have no resellers and I include back ups as part of my hosting. Depending on the level of hosting that a client has, the back ups are performed at either the daily, weekly, or monthly basis. It would be great to have a check for those levels on the screen where you select which accounts to back up so that each account would be backed up at the request interval.

    Can you provide an example of the syntax to run a back up from a script? I imagine once I have the script written, I can simply addd it as a cron job. I'd prefer to have the jobs run at the server level (one each for weekly, daily, monthly) to back up the specific accounts, rather than have an individual script on each account's cron.

  7. #7
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Thumbs up

    There are several ongoing threads in the Feature Requests for cPanel and WHM you might like to sign on to.

  8. #8
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    Quote Originally Posted by PCZero View Post
    Thanks Don... I was thinking along those lines, but it would be nice to have this ability at WHM level in a future release. Sort of an accoutn by account back up level.

    My situation is that I have no resellers and I include back ups as part of my hosting. Depending on the level of hosting that a client has, the back ups are performed at either the daily, weekly, or monthly basis. It would be great to have a check for those levels on the screen where you select which accounts to back up so that each account would be backed up at the request interval.

    Can you provide an example of the syntax to run a back up from a script? I imagine once I have the script written, I can simply addd it as a cron job. I'd prefer to have the jobs run at the server level (one each for weekly, daily, monthly) to back up the specific accounts, rather than have an individual script on each account's cron.
    Quote Originally Posted by Infopro View Post
    There are several ongoing threads in the Feature Requests for cPanel and WHM you might like to sign on to.
    I don't have an example custom script on-hand, but there are at least a few to be found via searching the forums. I recommend following the applicable feature request threads like Infopro suggested as this will help more as a long-term solution; adding any thoughts or opinions in the threads will also help by letting us know which feature requests are the most popular or that would be the most useful to users of cPanel and WHM.

    As far as creating backups via command-line, where it could be scripted, I would look at using the pkgacct script, as seen below; at minimum it takes a username as an argument, but there are a few other options available, such as specifying the directory where to save the backup ("$tarroot") as seen when reading the script contents:
    Code:
    # /scripts/pkgacct $user

Similar Threads & Tags
Similar threads

  1. Cpanel and remote MySQL back and forth config issues
    By wjdv in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-16-2011, 04:46 AM
  2. Back Up Config
    By PCZero in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-08-2010, 09:16 PM
  3. Replies: 6
    Last Post: 12-10-2009, 11:43 AM
  4. Problem: %Config::Config is read-only
    By PHP Warner in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-16-2009, 12:53 PM
  5. httpd config remain some config
    By activa in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 02-01-2008, 06:09 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube