How To Tar All Accounts (CPanel Server)
Feb 26, 2007
My server is having a big problem now.
It started with very high server load
After that I went to the datacenter to reboot the server, it then told me they were few errors 'touch' some files in /var/ giving message "System file read only" etc..
Then i rebooted the server again and again not knowing what to do and it logged me into single mode user and scan for me.
Right now. I believe my hard disk had crashed or my system file is just a big mess error. I couldn't get the server to online.
Right now. I am planning to mount my sdb2 (secondary hard drive) and tar (backup) EVERY ACCOUNTS (including email + sql) into my secondary drive
What command should I use to do that?
View 5 Replies
ADVERTISEMENT
Jul 17, 2007
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
View 14 Replies
View Related
Nov 2, 2009
When i try to Copy multiple accounts/packages from another server i am getting the error
Quote:
password:sshcmdpermissionden
Eventhough user and password correct
View 7 Replies
View Related
Oct 10, 2007
I want to back-up accounts managed by cPanel/WebHostManager to a remote server. I want to be able to restore to any of the last 7 days. I believe doing an incremental back-up each night can accomplish this best, saving both bandwidth and disk space on the remote server.
Using the back-up functionality built into WHM is appealing because WHM knows what files need to be backed up to do a full restore. However, WHM can't do exactly what I'm looking for either. I've been looking into using rsync as described in this document:
[url]
It looks becaue of the "hard link" capabilities of linux, rsync can be used to create what functions like a full back-up every night but requires a full backup the first day and then each day after that only the incremental changes have to be transfered. However, because I don't know what directories need to be backed up, I'm not sure how to implement an rsyc solution either. (BTW, I want to back-up everything necessary to be able to restore each account except the log files. So, that means MySQL, mail, config info, and whatever the user has uploaded)
View 1 Replies
View Related
Mar 2, 2009
i want to shift my domain to one server to another server and the problem is how can i shift my email accounts data to one server to another server.
View 8 Replies
View Related
Jun 28, 2009
i have a dedicated server. Centos 5.3 /Cpanel
2 reseller accounts on it: acc1 and acc2.
acc1 has ns1.domain.tld and ns2.domain.tl nameservers set up
acc2 has ns3.domain.tld and ns4.domain.tl nameservers set up
now i want to move an account (customer.tld) from acc2 to acc1 without downtime.
how can i do this provided i can not have customer.tld both on acc1 and acc2 on the same server?
here's what i did:
1. changed customer.tld nameservers to have ns1.domain.tld, ns2.domain.tld, ns3.domain.tld, ns4.domain.tld then waited for 48 hours for the changes to propagate
2. changed the customer.tld owner in WHM from acc2 to acc1
3. changed the cpanel package from acc2_package ti acc1_package
4. changed the IP in WHM for the account from ns3 IP to ns1 IP
5. changed the DNS entries in WHM ns3 changed to ns1 on all instances found there
but i still have a downtime period now. everything looks fine in httpd.conf thou
View 5 Replies
View Related
Dec 18, 2008
When you move accounts from one WHM/CPANEL on one VPS to anoter CPANEL with another VPS, will it transfer the whole thing including MySQL as well?
View 3 Replies
View Related
May 16, 2007
On my cpanel server, the main account catch-all is full of crap emails. So many that when I try to log into it with horde/squirrel it just times out. How can I clear the mailbox out? I tried connecting too it from outlook express and it connects but doesnt download any of the emails. This is the main email account that cpanel automatically creates for the account.
View 6 Replies
View Related
Jun 20, 2007
What is the most easy way to move my accounts to my new VPS? Both have cPanel.
View 6 Replies
View Related
Aug 13, 2007
I am moving my accounts soon from my VPS which I have root access to and was wondering if anyone could tell me what I need to do, to the DNS.
As last time I did this I had to edit the DNS Zone, by editting one of the following: refresh , retry , expire , minimum ttl but can not remember which one or to what.
Then I changed the IP address to the new server.
View 1 Replies
View Related
Sep 1, 2008
I recently got a dedicated server (CentOS with WHM and cPanel) and I am a newbie when it comes to server admin.
I had a hard time with the proper configuration so that Fantastico would work (it took their admin a week to figure out their own installation).
In any case now I can use Fantastico to install scripts and the one I use the most is Joomla. There is a major problem though. So I create a new account in WHM (with root access or not), go to domain.com/cpanel, go to Fantastico and install Joomla. Then if I access files or folders through FTP using CoreFTP I can't change permissions (most of files or folders) and I can't edit files. (that's the case even for the accounts with root access).
I can perform those actions if I log into WHM with my main root account and change what I need using a module called Configserver Explorer that shows all the files on the server (without that module I would be lost - I don't know all those shell commands)
So can anyone help me with some proper configuration tips so that if I create user accounts (other then myself) they would have those permissions to edit or change stuff in their account?
I come from shared hosting and never had these problems. They were allowing add-on domains and I could copy entire sites to other domain names with one click. Now WHM says it's not a good idea to allow add-on domains. No idea why. Any advise one that?
View 9 Replies
View Related
Jan 27, 2008
I have been used to transfering accounts from one WHM/cPanel server to another - easy-peasy
What is involved with moving accounts from a WHM/cPanel server to a server/vps running Plesk?
View 3 Replies
View Related
Jun 23, 2007
I have a question
When I login to cpanel as reseller, I see all accounts from drop down menu.
Q1: If I do full backup from reseller's cpanel, will it backup all accounts that I see from drop down menu? Or should I login each account to backup one by one?
Q2: If I can backup all by backing up reseller's cpanel, can I restore all accounts by restoring reseller's cpanel from new server?
View 4 Replies
View Related
Oct 6, 2007
When creating cPanel shared accounts under a VPS account, do you create them under the root WHM or do you create a "ficticious" reseller account and place the shared accounts under the reseller WHM? Are there any advantages or disadvantages using either method?
View 4 Replies
View Related