Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member _xandih's Avatar
    Join Date
    Dec 2005
    Location
    Gaspar - SC - Brazil
    Posts
    96

    Default Prevent full backup for users

    Hello

    How can I prevent users from doing full backups during day?
    I wish to allow then just at midnight to 6:00 AM.

    What I need to do?

    Thank you
    Alexandre Silva Hostert
    Server Management for Brazilians | Gerenciamento de Servidores para Brasileiros
    http://widecombrasil.com.br

  2. #2
    Member _xandih's Avatar
    Join Date
    Dec 2005
    Location
    Gaspar - SC - Brazil
    Posts
    96

    Default

    Anyone?

    Thank you
    Alexandre Silva Hostert
    Server Management for Brazilians | Gerenciamento de Servidores para Brasileiros
    http://widecombrasil.com.br

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by _xandih View Post
    Anyone?

    Thank you
    I was thinking of perhaps placing a hook on whatever API2 call this functionality may call, but it seems like the code is still in API1 format so I am unsure if it would call a hook as not all API1 calls call hooks.

    A hook would permit you to intercept this function call and create a script such that if it is between certain hours of the day, to not execute the backup and perhaps display an informative message instead.

    You can find the API call in /usr/local/cpanel/base/frontend/x3/backup/dofullbackup-include.html

    You can find details on API2 hooks in /usr/local/cpanel/hooks/ in a file called README

Similar Threads & Tags
Similar threads

  1. Replies: 12
    Last Post: 12-21-2010, 03:47 PM
  2. how to prevent user from take full backup from there cpanel
    By ezak in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-01-2009, 01:47 PM
  3. prevent users from editing or deleting .bash_history
    By mahinder in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-01-2009, 03:40 AM
  4. Prevent users from setting up forwards to domains
    By luvz2drv in forum New User Questions
    Replies: 1
    Last Post: 08-18-2008, 07:23 AM
  5. Prevent Users from reading other webroots
    By mediawrap in forum Database Discussions
    Replies: 5
    Last Post: 07-14-2007, 07:30 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube