Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 15 of 15
  1. #1
    Member
    Join Date
    Jun 2006
    Posts
    5

    Default Transfering Problems

    I am transfering from a shared account from a cpanel 10 server to cpanel 11 server. Mysql and home directory uploaded fine but when uploading an Email Forwarders/Filters Backup I get the following error:

    [a fatal error or timeout occurred while processing this directive]

    Code:
    /etc/valiases/aliases-avatar.irootnetwork.org open failed: Permission denied at cpanel.pl line 3007
    	Carp::croak('/etc/valiases/aliases-avatar.irootnetwork.org open failed: Permi...') called at /usr/local/cpanel/Cpanel/Fileman.pm line 363
    	Cpanel::Fileman::restoreaf('dir', '/home/fadyger', 'file-C:\Users\Xblade\Desktop\transfer\aliases-avatar.irootnetwor...', 'file3', 'file-C:\Users\Xblade\Desktop\transfer\aliases-avatar.irootnetwor...', '/home/fadyger/tmp/Cpanel_Form_file.upload.TM720eKGIvc2RhuZ') called at cpanel.pl line 3007
    	main::dofileman('restoreaf()') called at cpanel.pl line 1589
    	main::exectag('<cpanel Fileman="restoreaf()">') called at cpanel.pl line 4455
    	main::dotag(undef) called at cpanel.pl line 4344
    	main::cpanel_parseblock('SCALAR(0x9120778)') called at cpanel.pl line 4298
    	main::cpanel_parse('GLOB(0x93770a8)') called at cpanel.pl line 1119

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Any special reason you're restoring the account in pieces instead of doing it with a full backup?

  3. #3
    Member
    Join Date
    Jun 2006
    Posts
    5

    Default

    Will full backup do everything, files, mysql, emails...?

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Mastdesi View Post
    Will full backup do everything, files, mysql, emails...?
    Indeed, the full backup is a fully comprehensive backup of an individual account.

  5. #5
    Member
    Join Date
    Jun 2006
    Posts
    5

    Default

    k now i got my customer's full backup downloaded on my computer. Where do i place this file now?

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Mastdesi View Post
    k now i got my customer's full backup downloaded on my computer. Where do i place this file now?
    Place this in the /home or /root directory of your server. Once there, you should be able to go to WHM -> Backup -> Restore a Full Backup/cpmove file, then type the username of that account to create/restore that account.

  7. #7
    Member
    Join Date
    Jun 2006
    Posts
    5

    Default

    Quote Originally Posted by cPanelDavidG View Post
    Place this in the /home or /root directory of your server. Once there, you should be able to go to WHM -> Backup -> Restore a Full Backup/cpmove file, then type the username of that account to create/restore that account.

    How do i access one of those directories. i just need to place the file in one of thos directories but can u plz give me the steps on how to get to one of these directories.

  8. #8
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    For newbies, I typically recommend creating a dummy account via WHM with enough disk quota to accommodate the backups. Then FTP upload the backups there. After that, login to the server via SSH using a SSH client such as PuTTY. From there, use the cp command to copy the file from /home/account/whatever.tgz (where account is the username for the account where these files are uploaded to and whatever.tgz is the filename for the backup) to /home. Be sure to delete the files from the dummy account once the restoration is complete.

    There are other, far more efficient methods of doing this. However, this is typically the easiest for a novice system administrator.

  9. #9
    Member
    Join Date
    Jun 2006
    Posts
    5

    Default

    gr8 thanks for the help, the sites running perfect now.

  10. #10
    Member
    Join Date
    Jan 2008
    Posts
    6

    Default Create Backup and Move With No Root Access

    I have a shared server and do not have root access. How can move my site??

    I am moving from shared with no root access to one with root access. (VPS)

    I am also running vBulletin, vBSEO, and CMPS.

    This is very perculiar for a newbie administrator. You can say I am a "real" newbie, since I haven't ever had root access. I know this might be considered "hijacking", but it is along with the discussion, just I do not know how to make the backup above since I do not have root access.

    I have created an account, and tried the cPanel method of transfer with no success.

    Any information would be golden at this time

    Thanks

  11. #11
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by woodcreeker View Post
    I have a shared server and do not have root access. How can move my site??

    I am moving from shared with no root access to one with root access. (VPS)

    I am also running vBulletin, vBSEO, and CMPS.

    This is very perculiar for a newbie administrator. You can say I am a "real" newbie, since I haven't ever had root access. I know this might be considered "hijacking", but it is along with the discussion, just I do not know how to make the backup above since I do not have root access.

    I have created an account, and tried the cPanel method of transfer with no success.

    Any information would be golden at this time

    Thanks
    In this scenario (a lack of root access on the remote server), I typically recommend performing full site backups via the existing website's cPanel interface. Then transferring that full site backup to your own server's /home directory. Repeat this process for each website you with to transfer.

    Then go to WHM -> Backup -> Restore a Full Backup/cpmove file on your server and type the username for the account you wish to create/restore onto your own server. It should automatically detect the files placed in /home and list them in the WHM interface.

  12. #12
    Member
    Join Date
    Aug 2003
    Posts
    45

    Default

    Quote Originally Posted by cPanelDavidG View Post
    Indeed, the full backup is a fully comprehensive backup of an individual account.
    Hello David,

    I was wondering if there is a way to move the entire server to a new one
    other than backup and restore individual accounts.

    I just got a new server, installed with a temporary licence.
    I want to transfer the accounts and change the IP to the current server IP

    I will appreciate some help in the direction.

    Thank you
    Imai

  13. #13
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Imai View Post
    Hello David,

    I was wondering if there is a way to move the entire server to a new one
    other than backup and restore individual accounts.

    I just got a new server, installed with a temporary licence.
    I want to transfer the accounts and change the IP to the current server IP

    I will appreciate some help in the direction.

    Thank you
    Imai
    You could create/use an existing full server backup and copy it to your new server and restore the backup there. This restoration process is a "manual" one, but the archive is very straightforward in structure. For example, the contents of var/mysql/ in the archive would be extracted to /var/mysql, the contents of etc/ would be extracted to /etc/ and so forth.
    Last edited by cPanelDavidG; 02-18-2008 at 09:29 AM. Reason: Enhanced verbosity.

  14. #14
    Registered User
    Join Date
    Feb 2008
    Posts
    1

    Default Trouble restoring backups to new server running cPanel

    Hello David, I am having a similar problem when restoring the individual backups [a fatal error or timeout occurred while processing this directive]. The reason I dont go with the full back up is simply because Putty doesn't allow me to proceed with entering the password for the account. I can enter the account name but it freezes in the password section without allowing to enter the password.

    I was able to successfully restore the home directory files with the restore feature in cPanel and also was able to successfully restore the database which was originally installed on a subdomain but the subdomain was not created upon restore. Do I need to manually create the subdomain under the new server I am transferring to?

    Kind regards,
    Israel Collazo

  15. #15
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by israel View Post
    ...

    I was able to successfully restore the home directory files with the restore feature in cPanel and also was able to successfully restore the database which was originally installed on a subdomain but the subdomain was not created upon restore. Do I need to manually create the subdomain under the new server I am transferring to?

    Kind regards,
    Israel Collazo
    As the backups you can restore via the cPanel interface are not full site backups, you will likely need to restore those items manually. Hence I often recommend /scripts/pkgacct or creating a full site backup (as that user, as doing this as a reseller will not properly backup databases) rather than relying on the limited backup/restore functionalities of the cPanel interface.

Similar Threads & Tags
Similar threads

  1. transfering servers
    By bub in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-20-2007, 08:22 AM
  2. Having problems transfering SSL to a new server
    By Skie in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-28-2006, 01:42 PM
  3. Password Problems after Transfering Servers
    By netnameus in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 06-12-2006, 08:17 AM
  4. Help with transfering
    By !Zini in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-20-2005, 08:44 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube