CPanel Scripts: Difference between revisions

From Psygen Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
<code>/scripts/upcp --force</code> - Updates cPanel (use with caution)
<code>/scripts/upcp --force</code> - Updates cPanel (use with caution)


<code>/scripts/pkgacct</code> - backs up the entire specified cPanel account, including databases, e-mail, settings, etc
<code>/scripts/pkgacct </i>user</i></code> - backs up the entire specified cPanel account, including databases, e-mail, settings, etc. Replace "user" with the cPanel username to backup.

Revision as of 02:51, 14 January 2017

cPanel has a bunch of scripts in the /scripts folder.

For most of them, you can run: /scripts/script_name_here --help to see what the script does. (Except for upcp... --help is not available for it.)

Scripts

/scripts/whowns domain.com - Tells you which cPanel account owns the specified domain.

/scripts/upcp --force - Updates cPanel (use with caution)

/scripts/pkgacct user - backs up the entire specified cPanel account, including databases, e-mail, settings, etc. Replace "user" with the cPanel username to backup.