Categories
cpanel server tut

restore multiple cpanel backup from folder ssh

log ssh dont forget to change “backupfolder” with your backups folder
[php]
cd /home/backupfolder; for a in *; do /scripts/restorepkg $a; sleep 30; done;
[/php]

Categories
cpanel General

Cpanel Commands ssh

Install cpanel

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

backup one user account
/scripts/pkgacct USERNAME

Force Cpanel backup run for all users
/scripts/cpbackup –force