The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Transfer problem

Discussion in 'General Discussion' started by markus79, Oct 31, 2006.

  1. markus79

    markus79 Member

    Joined:
    Apr 4, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    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
     
  3. markus79

    markus79 Member

    Joined:
    Apr 4, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  4. markus79

    markus79 Member

    Joined:
    Apr 4, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    ujr -- i have the tarball from the transfer - whats the command to restore thru shell using the tarball?

    thx
     
  5. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  6. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    as above...

    /scripts/restorepkg username
     
  7. markus79

    markus79 Member

    Joined:
    Apr 4, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    ahh great thanks!
     
  8. markus79

    markus79 Member

    Joined:
    Apr 4, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    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>
     
  9. ujr

    ujr Well-Known Member

    Joined:
    Mar 19, 2004
    Messages:
    290
    Likes Received:
    0
    Trophy Points:
    16
    try gzipping the tar file for this user first. The restorepkg normally expects a tar.gz file
     
Loading...

Share This Page