Drug preguntas

How to run Cpanel backup process during server load.

Cpanel No Comments »

This is not advised as it will place tremendous load upon your server

With that said:

1. open /scripts/cpbackup in your favorite text editor.
2. find ’sub cpusystem’ (without the quotes)
3. Change the nested if/elsif/else block to resemble:

else {
        #if ( -e "$CPCONF{'root'}/bin/cpuwatch" ) {
        #   exec( "$CPCONF{'root'}/bin/cpuwatch", "$cpunum.0", @_ );
        #}
        #elsif ( -e "$CPCONF{'root'}/bin/logrunner" ) {
        #    exec( "$CPCONF{'root'}/bin/logrunner", "$cpunum.0", @_ );
        #}
        #else {
            exec(@_);
        #}
        exit 1;
    }

4. Save the file and exit the editor
5. execute /scripts/cpbackup –force

The code changes disable the use of the process load monitors (cpuwatch and logrunner).

Wordpress Themes by Natty WP. Web Hosting
Images by our golf tips desEXign.