7 Replies Latest reply: Dec 5, 2012 7:49 AM by Linc Davis
BijanK Level 1 (0 points)

I have always backed up my Mac using rsync. The process was easy to control as the entire backup process was depicted in Console in real time.

 

On Mountain Lion, I have found that rsync does not provide any updates anymore in Console.

 

Has anyone seen this?


MacBook Pro 15, Mac OS X (10.7.1)
  • Linc Davis Level 10 (192,539 points)

    Please post the command you're running. Anonymize if necessary.

  • BijanK Level 1 (0 points)

    It's a script that has never been changed:

     

    #!/bin/sh

    rsync -avzt --bwlimit=85 --delete-after --progress --stats --cvs-exclude --exclude "*.XXX" --delete-excluded /Users/XXXX/XXXX XXXX@XXXX.XXXX.XXX:MyMac/

     

    That code is in a separate file that is called through a job automatically. The script runs fine in a Terminal window and produces the desired results, but nothing shows up in console.

     

    Up til now, I was used to seeing the full process unfolding also inside Console.

  • Linc Davis Level 10 (192,539 points)

    How is this script invoked?

  • BijanK Level 1 (0 points)

    As com.xxx.xxxxxx-agent run at a specific time using Lingon for Mac as a scheduler.

  • Linc Davis Level 10 (192,539 points)

    Is the agent working? That is, are the backups happening on schedule? If so, please post the anonymized text of the agent.

  • BijanK Level 1 (0 points)

    It's a very simple launchd job and its runningly perfectly fine and on schedule.

     

    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

    <plist version="1.0">

    <dict>

              <key>Disabled</key>

              <false/>

              <key>Label</key>

              <string>com.xxxx.xxxxxx</string>

              <key>ProgramArguments</key>

              <array>

                        <string>bash</string>

                        <string>/Users/xxx/Documents/xxx/backup_documents.sh</string>

              </array>

              <key>StartCalendarInterval</key>

              <dict>

                        <key>Hour</key>

                        <integer>11</integer>

                        <key>Minute</key>

                        <integer>0</integer>

              </dict>

    </dict>

    </plist>

  • Linc Davis Level 10 (192,539 points)

    The output should be going to the log. If you're having trouble finding it, adapt the suggestion on the page linked below. For an agent, the location of the log file should be in your home folder.

     

    Logging with launchd