Backup all cPanel accounts (then restore them) from ssh as root
To backup all accounts at once use the following command: for backup in `\ls /var/cpanel/users/`; do echo /scripts/pkgacct $backup; done Afterwards download the backup files created (they will begin with cpmove- and be in the /home directory) To restore the backups upload the files under /home on the server then run the following also while within the /home directory: for backup in `ls |grep cpmove- | cut -d- -f2…