Web Hosting Talk







View Full Version : Need help fast with restoring a full backup


jcrespi
09-04-2007, 07:29 PM
Hi,

I have to restore some full backup that I made from an old server into my new server. I have SSH access in my new host but I'm not root, I have jail shell access. Is it possible to restore the bacups with that access level? if so can you please help me writing down the command? I tried to restore those backups from cpanel but it restored them not in the public_html it restored them in a directory outside of the public_html.

Please I need this help asap. If you know how to do it or have a reference how to do it please post it....

jdfcomp
09-04-2007, 07:49 PM
With jailed shell access only, unfortuantely you need access to the /home folder for the command line cpanel restore function to work.

Without access to /home you would need the tar.gz created by the user login cpanel backup tool not the main whm/root level tool, they are two different files.

If your host is half decent, upload all the tar.gz files for the accounts to one folder
ask them to move the to /home (or whatever home folder they user and restore them for you). I used to do it all the time for users. If the accounts are not too big and the server is not too overloaded should not take long.

If they give you a hard time about it, seriously look at a new host.

Also once the files are in the /home folder they may also appear in your whm login if you have backup-restore access and they setup the chown correctly (but I doubt it)

david510
09-05-2007, 01:44 AM
jcrespi,

You cannot run the restore script with jail shell access. If you have reseller WHM access, create the new account, login to the jailshell and copy the public_html,mail folder from the backup and restore databases. It will not be a complete restoration though.