markus79

Member
Apr 4, 2006
17
0
151
Hi,
I've been transferring all my websites to a new server. All transfers have worked, excpet for one that is about 35GB.

It seems that it crashed or stopped during the "Restoring Files" part, because that's where the log ends. The site's directory and all the files are there in /home, but when I try to go into it it says permission denied. It doesn't look like it set the right permission(s). Is there any script I can run to fix this?

thanks
mark
 

ujr

Well-Known Member
Mar 19, 2004
290
0
166
Sometimes it's really better to backup and restore the accounts from shell...

to backup an account
/scripts/pkgacct username

to restore an account
/scripts/restorepkg username
 

markus79

Member
Apr 4, 2006
17
0
151
it looks like it assigned the wrong owner to the account. that's why i'm getting permission errors. i wonder if i attempt to change the username/account name that it would go thru the directory and correctly assign the owner.
 

markus79

Member
Apr 4, 2006
17
0
151
ujr -- i have the tarball from the transfer - whats the command to restore thru shell using the tarball?

thx
 

ujr

Well-Known Member
Mar 19, 2004
290
0
166
If that's the case, there is a good possibility that it may work.

Nevertheless, with a 35GB account, I would suggest packaging it and restoring it using SSH.
 

markus79

Member
Apr 4, 2006
17
0
151
i did as you showed but it says it can't find the tarball... the account is d1tv312 so i'm doing....

/scripts/restorepkg d1tv312

and there is a file called cpmove-d1tv312.tar in my home directory. It's not a tar.gz file though, does that matter? I get the following:

Searching /home....
No Restorable archives found!
Searching /usr/home....
No Restorable archives found!
Searching /web....
No Restorable archives found!
Searching /home2....
No Restorable archives found!
Searching /home3....
No Restorable archives found!
Searching /root....
No Restorable archives found!
Searching /usr....
No Restorable archives found!
<br /><br /><span class="b2">No archives where found!!</span><br /><br />
This feature will restore full backups, cpanel backups and cpanel move files in the format of:
cpmove-user.tar.gz, user.tar.gz, backup-date_time_user.tar.gz<br /><br />
The files must be in one of these directories on the server:
/home,/usr/home,/web,/home2,/home3,/root,/usr<br /><br /><span class="b2">You must upload the file to one of the above locations before
using this feature.</span>
 

ujr

Well-Known Member
Mar 19, 2004
290
0
166
try gzipping the tar file for this user first. The restorepkg normally expects a tar.gz file