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|
|How to restore multiple tar.gz backups||General Discussion||1|
|J||Restore backup via SSH Multiple accounts||General Discussion||3|
|A||Question About Restore restore multiple backups via ssh?||General Discussion||1|
|restore multiple accounts gives a 404 error after it starts||General Discussion||4|
|J||Comman to restore multiple accounts||General Discussion||1|