User Tools

Site Tools


innobackupx_scripted_to_backup_daily

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
innobackupx_scripted_to_backup_daily [2011/03/01 20:23]
k2patel
innobackupx_scripted_to_backup_daily [2011/03/01 20:23] (current)
k2patel
Line 12: Line 12:
 if /​usr/​bin/​innobackupex-1.5.1 --no-timestamp --no-lock --user=root --password=testpassword --stream=tar ./ | ssh root@remote.backup.com "cat - > /​root/​bkuptest/​Backup/​test.tar"​ if /​usr/​bin/​innobackupex-1.5.1 --no-timestamp --no-lock --user=root --password=testpassword --stream=tar ./ | ssh root@remote.backup.com "cat - > /​root/​bkuptest/​Backup/​test.tar"​
 then then
-        if ssh root@remote.backup.com "/usr/local/​bin/​mybackup.sh"​+        if ssh root@remote.backup.com "/​usr/​bin/​mybackup.sh"​
                 then                 then
                 echo "​Backup Done" | mail -s "​[Backup] backup done Complete"​ ketan@email.com                 echo "​Backup Done" | mail -s "​[Backup] backup done Complete"​ ketan@email.com
innobackupx_scripted_to_backup_daily.txt ยท Last modified: 2011/03/01 20:23 by k2patel