Comments Off

backup_splash.jpgHere is the simple Linux shell script to back up all mysql databases on daily basis. You can even add this as cron job so that all dbs are backed-up daily. Make sure you change your user id and password.


#!/bin/sh
#
# backup_mysql_db.sh
# Backup all databases into local drive automatically
#
#out File name must be like this mysql_2012_01_07.zip
#
RUNDATE=`date +%Y_%m_%d`
$UID="myuid"
$PWD="mypwd"

res=`mysql <<EOF
show databases;
EOF
`
#echo $res

for i in $res
do
if [ $i != "Database" ]
then
if [ $i != "i...

Read more

1 Comment

gold_ingots.jpgCongress has until Aug. 2 to raise the federal borrowing limit or the government will run out of money and possibly default on its debt. House Republicans say they won’t raise the debt limit without equal spending cuts. President Barack Obama and Democrats insist that higher revenues must be included.

Saturday’s developments: President Barack Obama met with Republican and Democratic leaders at the White House for less than an hour...

Read more

Comments Off

diet_food_pyramidModifying your diet to “eat healthfully” doesn’t require dramatic changes. In fact, it may only call for some minor tweaks. Certain small changes serve up huge, lifelong benefits that can help you lose weight, ward off disease, and feel more upbeat and energetic all day long.

“It’s all about self-care,” says Beth Reardon of Duke Integrative Medicine and Caring.com’s senior food and nutrition editor...

Read more

Comments Off

mobile_payment.jpgSAN FRANCISCO — Square, the mobile payments start-up, has tried to make cash obsolete by giving small businesses, like farm stands and cafes, a way to turn their cellphones or tablet computers into credit card terminals. Now Square is trying to make wallets obsolete, too, by upending the way that consumers pay for purchases.

On Monday, Jack Dorsey, Square’s co-founder and chief executive, announced a way for shoppers to pay by simply giving their name to the merchant. Mr...

Read more

Comments Off

clockDaylight saving time is coming, and with it, longer, more light-filled days. Below, your Buzz round up of questions on the time change.

When is it?
We spring ahead the second Sunday in March. This year the time change starts on Sunday, March 13 and ends Sunday, November 6. Not all states observe the time difference: Hawaii, most of Arizona, American Samoa, Guam, Puerto Rico, and the Virgin Islands opt out.

Why do we have daylight saving time?
The hope is that we save energy — since there’s less of a need ...

Read more