RSSAll Entries Tagged With: "backup"

Script for restoring multiple accounts from backup

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 -d. -f1`
do
echo “Restoring $i….”
/scripts/restorepkg $i
echo “$i restored”
echo “====================”
done
echo “Restoration completed”
#######################

Database backup generates an empty file

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 try to take a back-up. That should work.

InstaCarma doubles the power back-up capacity

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 this, InstaCarma added a new-age 25KVA brushless AC generator to its power back-up [...]

Automatic backups using SSH

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 source.
3. Set it as a cron every [...]

Error while restoring cPanel backup

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 restore the account.
You can also restore the account forcefully by using :
/scripts/restorepkg –force username

Tutorial on clearing Disk Space on a Server

Running out of disk space is a very common issue.  Be it a web-hosting service provider or the end-user.  I wanted to share a few tips that the technical support staff  at InstaCarma use to resolve disk-space issues on a cPanel server. As we all know, there are various partitions on a server which are [...]

CDP – Continuous Data Protection

Backup is the activity of copying files or databases to a disk or tape so that these may be used to restore the original after a data loss. It is always advised to keep one backup in a different location from the others.
Why do you need a backup ?
Data is one of the most important [...]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes