Sorry to bump this thread. If I have 100+ accounts then I have to enter user name every time for all users. Is there anyway to restore all accounts?Hello,
To restore a full backup file, simply move the file (usually named as username.tar.gz or cpmove-username.tar.gz) to /home directory (or /usr/home, /web, /home2, /home3, /root, /usr directory if applicable). Then login to WHM (WebHost Manager), and click on Restore a Full Backup/cpmove file link under the Backup section. Enter the user name for the account to restore in the text field after “Enter the username for the account you wish to restore”. Finally click on Restore button and wait for the restoration process to complete.
From shell :
cat /etc/trueuserdomains | cut -d: -d' ' -f2- > /root/acctlist
screen for i in `cat /root/acctlist` ;do /scripts/restorepkg $i ;done
yum install screen
Seems that you did not read the above replies carefully. I also tried to Transfer accounts and got SSH error.I don't understand why SSH would time out when this is a restore option and not a transfer option. When you are restoring backups that exist on the machine, it isn't using SSH.
|Thread starter||Similar threads||Forum||Replies||Date|
|J||SOLVED Restore multiple accounts using one command||Backups||2|
|L||Restore multiple accounts from new backups, by first letter?||Backups||1|
|R||Restore Multiple Backups||Backups||1|
|T||How can I restore multiple accounts from cPanel backups||Backups||1|
|How can I restore multiple accounts from cPanel backups (v.2)||Backups||7|