How To Copy Accounts
Jan 21, 2007I have 2 cpanel servers with root access.
I want to copy all the accounts from 1 server to another.
I have 2 cpanel servers with root access.
I want to copy all the accounts from 1 server to another.
What's the biggest site you've copied using Copy Account function in WHM? I have a site about 5GB, containing a forum with a gallery. The database is ~600MB. Do you think it'll timeout during the copying process?
View 13 Replies View RelatedWhen i try to Copy multiple accounts/packages from another server i am getting the error
Quote:
password:sshcmdpermissionden
Eventhough user and password correct
I want to copy an accounts from old cpanel server to new cpanel server, but I want to use old cpanel server ip address.
( My question is when we migrate an accounts from cpanel server, Does it assign new server ip address that migrated accounts automatically? )
In previous thread we made few manual transfer of our domains.
We also made some automated migration of few domains/sites using Web Host Manager's Copy an account from another server feature.
All the files and other settings were properly transferred from old server to new server, but only the mysql database is not visible on new server. I am unsure if the same got copied to new server.
Transfer accounts to new server - unlimited quota in all accounts.
I trying
Code:
quotaoff -av
quotaon -av
/scripts/updatenow
/scripts/initquotas
/scripts/fixquotas
Code:
[root@serwer /]# /scripts/updatenow
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Running updatenow manually may cause /scripts to become
out of sync with the cPanel installation. This can cause
a variety of problems.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Code:
[root@serwer /]# /scripts/initquotas
Warning virtual file systems are mounted. Quota's may be counted as double for users who are currently logged in. Please have jailshell users logout before running quotacheck in the future! All jailed users will be logged out in 60 seconds!
Broadcast message from root (Tue Jul 17 19:47:41 2007):
Warning! The system is about to perform quota maintenance. All users will be
logged out in 60 seconds. PLEASE Do not log back in for 30 minutes, or you may
inadvertantly disable your account.
jailshell: no process killed
Quotas are now on
Code:
[root@serwer /]# /scripts/fixquotas
Installing Default Quota Databases......Done
Warning virtual file systems are mounted. Quota's may be counted as double for users who are currently logged in. Please have jailshell users logout before running quotacheck in the future! All jailed users will be logged out in 60 seconds!
Broadcast message from root (Tue Jul 17 19:49:17 2007):
Warning! The system is about to perform quota maintenance. All users will be
logged out in 60 seconds. PLEASE Do not log back in for 30 minutes, or you may
inadvertantly disable your account.
No filesystems with quota detected.
Resetting quota for adamkaro to 1024 M
No filesystems with quota detected.
Resetting quota for adammore to 1024 M
No filesystems with quota detected.
Resetting quota for adamna to 1536 M
No filesystems with quota detected.
Resetting quota for adasmp3 to 1024 M
We have about 3 resellers on one server and all of a sudden, when I log in to whm and click "Show Reseller Accounts", all accounts show under root.. What's even strager, is that under package colum, it says "undefined"
However, when I click "list accounts", all accounts show and they are properly setup up with the correct package and owner (not all root.. They also show to which reseller they belong).
how to fix the problem when I click "Show Reseller Accounts"?
How do I copy an entire mysql sql database file via ssh?
Inside /var/lib/mysql the sql are per table, not one single sql. The db is over 300mb in size too.
Using mysql 5/centos 4.6
I have around 40 domains and I'm trying to avoid copying each one over manually. I can't remember what files need to be copied and the best command to do that.
View 7 Replies View RelatedI have wrote a small script which copies file names which has name as *default* from backup to users main folder. It works fine with one folder but doesn't copy files from sub-folders.
it works with all the sub-folders as well?
HTML Code:
#!/bin/bash
for i in $(ls /var/cpanel/users)
do
rsync -vrplogDtH /backup/cpbackup/weekly/$i/homedir/public_html/*default* /home/$i/public_html
chown -R $i.$i /home/$i/public_html/*default*
done
I want to use DD to fully duplicate a HD, however, the HD is 120GB and also have a mount folder that is 2TB. If I use DD, will it also trying to copy that 2TB onto my 2nd HD?
View 3 Replies View RelatedHow do I copy all files and directories recursively to another folder?
I did:
cp --preserve -r /sourcefolder/* /destinationfolder/
However, it missed the dot files
It turns out my 250GB hard drive was no match for my data... I need to upgrade the HD.
I'm currently using ClarkConnect Community Edition.
Is it fine to make a duplicate of an existing hard drive and just plug the new one in?
Is there any further configuring or is it all sweet?
Also, what software do you recommend to make the copy?
wasn't sure if this should go into "technical" or "programming" but I figure someone here will instantly be able to tell me...
(details: I'm on a shared host with cpanel and centos 3)
My hosting service techs refuse to update gnu TAR on the server even though it's several years old at 1.13 and has some know bugs that are annoying for complex calls - (basically the techs use any request like this to try to upsell me to dedicated or VPS which I don't need at my low level)
So I'd like to install a "local" copy of the newer gnu 1.14 or 1.15 TAR (which I *think* is possible?) into my account and have it run instead of the shared copy?
Unfortunately this is beyond my knowledge so thanks for any help in the right direction...
I have a large directory which I want to copy to another account on the same server. Its 1 folder which contains 20000+ files and its around 2GB in size.
I used:
Quote:
cp -r /home/useraccount/public_html/foldername /home/useraccount2/public_html
It worked but some of the files didn't transfer correctly,
I have about 1.80GB of flash games and I want to copy this flash games to another server, I only want to copy the flash games not the entire account.
FYI I have shell access on both server.
I was trying to copy packages from one cPanel server to other using Copy function in WHM
accounts were moved easily but packages failed , Tried 4-5 times but still failed.
I would like to copy all MYSQL databases, users, etc.. to another server.
One server is RHEL 4 and the other is RHEL5.
What do I need to copy to insure everything is moved over,
i have a site at [url]
i tried todo a cPanel move to my server here.
[url]
on the new server above i keep getting the errors below. i just dont know what any of this means. can anyone help?
Warning: fopen(/usr/local/apache/htdocs/online.txt) [function.fopen]: failed to open stream: Permission denied in /home/cometora/public_html/onlineold.php on line 14
Warning: fclose(): supplied argument is not a valid stream resource in /home/cometora/public_html/onlineold.php on line 15
Warning: chmod() [function.chmod]: No such file or directory in /home/cometora/public_html/onlineold.php on line 16
Warning: fopen(/usr/local/apache/htdocs/online.txt) [function.fopen]: failed to open stream: No such file or directory in /home/cometora/public_html/onlineold.php on line 19
Warning: flock(): supplied argument is not a valid stream resource in /home/cometora/public_html/onlineold.php on line 20
Warning: feof(): supplied argument is not a valid stream resource in /home/cometora/public_html/onlineold.php on line 22
Warning: fgets(): supplied argument is not a valid stream resource in /home/cometora/public_html/onlineold.php on line 24
I am trying to copy files from one account to another through SSH, files copy with old account permissions and ownership.
Is this possible when I copy, ownership autometically changed to new account.
I am using CPanel and have root access.
I found that with unix's shell is possible copy all the content of a folder to oneother; I see the manual and found the command cp;
but there are many parameters;
which is that good?
I would like to replicate all that I have inner a folder to oneother;
so at the finish they must to hawe the identically content;
but I see, that some parameters can change symlink etc...
I want one clone exactly .
the originally folder have at inner directory,subdirectory, files htaccess etc..
Is it possible to get [Crone job] that sends a backup copy for single user in the server to another hosting via FTP which has [Domain name/ User /Password] either weekly or 3 times a week
View 10 Replies View RelatedI have tried copy files from Linux server to Windows Server using WinSCP3 and it was so fast.
I am not sure who to copy files as well from Windows to Windows with same speed. I tried to use RDC between the Windows Servers and share one drive. But it wasn't fast as WinSCP3.
I want to my friend's files from /home/admin/dc
to /home/ as I am planning to rebuild kloxo for him, this could kill all the files so, I would like to know the code so tht I could copy few files from the above location to the home directory