How to restore my entire site?

n3xtgen

Member
Feb 21, 2009
5
0
51
Hi there. I would like to restore my entire site but have no clue how to. I have a file that ends with .tar.gz and then I extracted it. My entire site backup is in there. I uploaded all files through FTP but dont know about the database. I went to Restore Wizard and uploaded my database then I get a message saying Restoring Database . Am I doing anything wrong?

Thanks
 

n3xtgen

Member
Feb 21, 2009
5
0
51
Are you trying to restore a cPanel backup.

If you have root access you could restore the account by placing the backup in the /home directory and run the following command.

/scripts/restorepkg username.
where can I type this command in?
 

hzJayJ

Well-Known Member
Nov 14, 2008
76
1
58
Are you trying to restore a cPanel backup.

If you have root access you could restore the account by placing the backup in the /home directory and run the following command.

/scripts/restorepkg username.
 

n3xtgen

Member
Feb 21, 2009
5
0
51
Download a program called PuTTY and SSH into the server :) Then run the /scripts/restorepkg username command
I did and when I log in I get this message:

shell session is not enabled on my account:(

Any other way to import database?

thanks:)
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Are you trying to restore a cPanel backup.

If you have root access you could restore the account by placing the backup in the /home directory and run the following command.

/scripts/restorepkg username.
No need for a new user to take this route, IMO. Restoring from WHM should work. Check out the backups section for options.
 

Zishan

Well-Known Member
Aug 6, 2005
107
1
168
I did and when I log in I get this message:

shell session is not enabled on my account
This shows that you are trying to login using cPanel username/password. Do you have root access on the server? If yes then you need to place the backup file .tar.gz in /home and then restore the backup from WHM > Backups > Restore feature. If you don't have root access then upload the backup file into your account and request your host to restore the backup for you. Please note that the existing account will need to be terminated so that it can be restored from the backup.