I've found myself experiancing problems from the very begining while trying to transfer accounts from Ensim to cPanel using the built in WHM script(s).
Initially, the script times out upon copying the 'copy script' over to the server (according to /var/log/messages/ the ssh session times out... odd) Either way, I'm needed to get these sites moved, and quickly.
Looking at the /script/pkgacct that is created on the Ensim server, I've found that it can be given a username (the master account name created with the domain, such as 'example')... in which case the following would be issues from the /scripts/ directory on the Ensim server:
perl pkgacct example
This begins the copying and placing of files in the /home/cpmove-example directory then tar/gz's the file to /home/cpmove-example.tar.gz and says the script is done.
Wee... I'm ahead of myself at this point.
Once I realized I wouldn't know what to do after going through manually on all 50+ sites, I figured I would stop here and see what I could do on importing this new tarball.
FTP'ed one test file from Ensim to cPanel server, and copied file to /home/cpbackup/migrating
Logged into WHM, (i've already set the backup option to Restore Only). I clicked on the option "Restore Backups". Gave me the option to restore the one domain.tar.gz file I copied over with 'create account'...
I though I was there, unfortunatly, I got the following error in WHM:
Extracting tarball...................
...............
Done
Extracting Domain....Done
Sorry, the copy failed. Unable to find the cpanel user file
Account Restore Failed...
I then realized, this isn't a backup, but something quite different... a transfer.
This is where hopefully someone here can come in and help me. I need to know what files on the cPanel server are used during the 'transfer' options. So, that I may configure a script to 'bypass' the server-to-server part, and jump directly to the unzipping/creating part (as I'll manually copy over the tar.gz files to the /backup/cpbackup directly myself (or wherever they need to be).
If anyone can give me insight into what file(s) need to be modified, or reviewed to give me a glimps into this I would be VERY greatful.
Thank you in advance, and remember... I"m slightly under the gun on this.
.:. Mindlash
cPanel.net Support Ticket Number: Urgent Help Requested
cPanel.net Support Ticket Number:
Initially, the script times out upon copying the 'copy script' over to the server (according to /var/log/messages/ the ssh session times out... odd) Either way, I'm needed to get these sites moved, and quickly.
Looking at the /script/pkgacct that is created on the Ensim server, I've found that it can be given a username (the master account name created with the domain, such as 'example')... in which case the following would be issues from the /scripts/ directory on the Ensim server:
perl pkgacct example
This begins the copying and placing of files in the /home/cpmove-example directory then tar/gz's the file to /home/cpmove-example.tar.gz and says the script is done.
Wee... I'm ahead of myself at this point.
Once I realized I wouldn't know what to do after going through manually on all 50+ sites, I figured I would stop here and see what I could do on importing this new tarball.
FTP'ed one test file from Ensim to cPanel server, and copied file to /home/cpbackup/migrating
Logged into WHM, (i've already set the backup option to Restore Only). I clicked on the option "Restore Backups". Gave me the option to restore the one domain.tar.gz file I copied over with 'create account'...
I though I was there, unfortunatly, I got the following error in WHM:
Extracting tarball...................
...............
Done
Extracting Domain....Done
Sorry, the copy failed. Unable to find the cpanel user file
Account Restore Failed...
I then realized, this isn't a backup, but something quite different... a transfer.
This is where hopefully someone here can come in and help me. I need to know what files on the cPanel server are used during the 'transfer' options. So, that I may configure a script to 'bypass' the server-to-server part, and jump directly to the unzipping/creating part (as I'll manually copy over the tar.gz files to the /backup/cpbackup directly myself (or wherever they need to be).
If anyone can give me insight into what file(s) need to be modified, or reviewed to give me a glimps into this I would be VERY greatful.
Thank you in advance, and remember... I"m slightly under the gun on this.
.:. Mindlash
cPanel.net Support Ticket Number: Urgent Help Requested
cPanel.net Support Ticket Number: