Results 1 to 4 of 4

Thread: Backup Alert

  1. #1
    Join Date
    Jun 2012
    Location
    Delhi
    Posts
    18
    Rep Power
    3

    Default Backup Alert

    Hi,
    i am using backup shell and using through crontab . But i want to configure alert message or alert mail after completing the backup . so plz tell me how can i do.


    Regds
    Ranjeet

  2. #2
    Join Date
    Nov 2009
    Posts
    38
    Rep Power
    6

    Default

    After the final rsync command, add the following lines and change recipient email address.

    exitst=`echo $?`
    if [ $exitst -ne 0 ]; then
    echo "Some error occured during backup process. Please check" | mail -s 'Mail Server Backup Error' <recipient email here>
    fi

  3. #3
    Join Date
    Jun 2012
    Location
    Delhi
    Posts
    18
    Rep Power
    3

    Default

    Hi yasanthau
    what u have write the command . its not working ,. if anything else then plz revert

  4. #4
    Join Date
    Nov 2009
    Posts
    38
    Rep Power
    6

    Default

    It is not a single command. It is the piece of shell script that will shoot an email if the backup process fails. You have to add that part just below the rsync command of your backup script.

Similar Threads

  1. Email Alert
    By Plurnay in forum Administrators
    Replies: 2
    Last Post: 09-16-2010, 02:23 PM
  2. Alert Zimlet for 6.0
    By Himanshu in forum Zimlets
    Replies: 4
    Last Post: 03-02-2010, 11:42 AM
  3. ZCS 6.0 Alert
    By hpanchani in forum Developers
    Replies: 2
    Last Post: 02-02-2010, 08:55 PM
  4. Audible Alert Possible?
    By RadAmEngr in forum Users
    Replies: 2
    Last Post: 10-30-2008, 08:08 AM
  5. ZCS Critical Bug Alert
    By jholder in forum Announcements
    Replies: 0
    Last Post: 05-17-2007, 06:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •