Posted in
CentOS,
Data Backup,
Enterprise level solutions,
Linux Apache MySQL PHP,
Linux System,
MySQL,
MySQL backup,
MySQL cluster,
Redhat,
System admin on Jan 29th, 2008 by Sunny Walia
21 comments
Before we go into how to set up master-slave replication in MySQL, let us talk about some of the reasons I have set up master-slave replication using MySQL.
1) Offload some of the queries from one server to another and spread the load: One of the biggest advantages to have master-slave set [...]
Read the full article...
There have been numerous occasions where I needed to make backups of individual tables from selected database. Usually I can achieve this by typing:
mysqldump database_name table1 > table1.sql
mysqldump database_name table2 > table2.sql
This could be very painful if you have 10’s or 100’s of tables. Until today, I never ran into a situation where I [...]
Read the full article...
One of the mysql database servers I manage started to have issues with doing backups yesterday. mysqldump was running but nothing was happening on the backup side. I started to investigate to see why our full backups were failing. I opened up the mysql error log file (mine is at: /usr/local/mysql/var/hostname.err) [...]
Read the full article...
If you have a website and never have archived your apache logs, you may be surprised one day by running out of space due to logs using up all the free space on specific partition. Most people don’t think about archiving until it is too late. Here we set up a simple log rotation script [...]
Read the full article...
Rsync is a great tool which can be used to do many tasks which involved copying/moving data. If privacy/security is of concern, which it always should be, you can use rsync to do all the copying/moving of data over SSH. Read through “man rsync” to get deeper understanding of rsync. Here is [...]
Read the full article...