This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
innobackupx_scripted_to_backup_daily [2011/03/02 01:23] k2patel |
innobackupx_scripted_to_backup_daily [2020/08/10 02:35] (current) |
||
---|---|---|---|
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 |