I keep getting "Undefined" errors in WHM when I do a full restore from a CP Move file. Is there a command I can execute that will do the same thing from the Console via SSH?
I get those errors sometimes and yes, you can do a full restore from the console:
Of course, replace username with the backup file username.Code:/scripts/restorepkg username
As Jordan stated, /scripts/restorepkg username will work, 2 things to keep in mind
1) The tar.gz must be in the home directory
2) The account cant exist. If the account does, then you need to terminate it, then run restorepkg.
I dont think --force does anything on it.
You will see some errors regarding "Unable to restore database, database exists!" Thats just the script trying to restore databases that are in phpmyadmin twice, I think what it does is restore the database, then restore the databases that are configured in phpmyadmin, but im not 100% sure
Checkout my new forum! http://adminreference.com/
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks