Results 1 to 2 of 2

Thread: Append BACKUP Script to a LOG

  1. #1
    Join Date
    Nov 2011
    Posts
    3
    Rep Power
    3

    Post Append BACKUP Script to a LOG

    OS used: Ubuntu 10.04.1 64 bit
    Zimbra version: 7.1.3

    I was wondering how to append the following cron job (bash backup) to some sort of log:

    I took the backup script "A Simple Shell Script Method" on Open Source Edition Backup Procedure - Zimbra :: Wiki and modified to my needs.

    I did not change anything on the process.. Just commented the ncftp part and changed the backup directory due to the fact that the backup will be done on a local hard drive.

    I made this script executable and added it into a weekly cron job.

    I would like to know if someone can tell me what is the best way to efficiently log the process…

    Thanks to all!

  2. #2
    Join Date
    Nov 2011
    Posts
    3
    Rep Power
    3

    Smile Solution

    So I just added "2>&1 >> /var/log/script_output.log" next to to my cron job.

    Source (and a good explanation): Schedule tasks on Linux using crontab

Similar Threads

  1. Replies: 658
    Last Post: 04-04-2014, 09:01 AM
  2. The installer was interrupted...
    By spiderbo in forum Zimbra Connector for Outlook
    Replies: 9
    Last Post: 05-23-2013, 06:33 AM
  3. Errors installing Outlook Connector
    By Tim G in forum Zimbra Connector for Outlook
    Replies: 57
    Last Post: 05-05-2011, 02:27 PM
  4. Error Installing Outlook Connector
    By DanO in forum Zimbra Connector for Outlook
    Replies: 17
    Last Post: 08-28-2007, 09:35 AM

Tags for this Thread

Posting Permissions

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