by Aromal Rajagopal | Nov 24, 2009 | Quick fixes, Technical |
The following script can be used to restore multiple accounts from the backups. It is assumed that all the backup files are already present in the /home directory in the tar.gz format. #!/bin/bash ####################### for i in `ls | grep tar.gz | cut -d- -f2 | cut...
by Aromal Rajagopal | Sep 18, 2009 | Quick fixes, Technical |
Issue : After downloading a database backup through cPanel (Download a MySQL database back-up) , the tar file generated is empty! Solution : This usually happens when you are logged in to cPanel with the root/reseller password. Log in with the user password and then...
by Aromal Rajagopal | Sep 14, 2009 | Company Updates |
In its bid to continue providing uninterrupted quality services to its esteemed clients, InstaCarma installed a brand new genset over the weekend. The company has been scaling well in the recent past. Foreseeing the potential problems which might arise as a result of...
by Aromal Rajagopal | Aug 19, 2009 | Quick fixes, Technical |
Issue : How to go about setting up backups using SSH so that backups of every account are uploaded automatically from server1 to server2 ? Solution : 1. Make SSH password less (key based) from destination to source. 2. Run a rsync from destination to get files from...
by Aromal Rajagopal | Aug 13, 2009 | Quick fixes, Technical |
Error : Sorry, a group for that username already exists. Fix : User account related information is stored in /etc/passwd, /etc/shadow and /etc/group files . Check all of them and remove the entries. You can remove the group by using: groupdel groupname And then...