jurkuipers

Q: How can I see Time Machine activity in Console with macOS Sierra.

In OS X I simply typed "backupd" in Console-search box.

Now it seems more complicated.

 

Jur Kuipers, The Netherlands

iMac (27-inch Mid 2010), OS X Mavericks (10.9.1)

Posted on Sep 21, 2016 2:39 AM

Close

Q: How can I see Time Machine activity in Console with macOS Sierra.

  • All replies
  • Helpful answers

  • by jurkuipers,

    jurkuipers jurkuipers Sep 22, 2016 5:16 AM in response to jurkuipers
    Level 1 (18 points)
    Mac OS X
    Sep 22, 2016 5:16 AM in response to jurkuipers

    let me reformulate the question...

    HOW CAN I SEE TIME MACHINE ACTIVITY IN macOS Sierra WITH CONSOLE?

     

    also... Time Machine takes forever...

    see thread Re: Sierra and Time Machine

  • by John Galt,

    John Galt John Galt Sep 22, 2016 11:52 AM in response to jurkuipers
    Level 8 (49,642 points)
    Mac OS X
    Sep 22, 2016 11:52 AM in response to jurkuipers

    You may now do that only using log. Please write back if you would like a suggestion for extracting Time Machine logs.

  • by Cerebro,

    Cerebro Cerebro Sep 24, 2016 3:15 PM in response to John Galt
    Level 2 (392 points)
    Mac OS X
    Sep 24, 2016 3:15 PM in response to John Galt

    I'd be interested in knowing how to do this.

     

    If Time Machine was taking an, unreasonably, long time, I liked being able to search for "backupd" in Console to see if TM was, actually, doing something or if it was stuck.  Now, I have no idea what it's doing when it's running.

     

    Also, the Time Machine Buddy widget no longer appears to work as a result of this change.

  • by jurkuipers,

    jurkuipers jurkuipers Sep 24, 2016 3:27 PM in response to John Galt
    Level 1 (18 points)
    Mac OS X
    Sep 24, 2016 3:27 PM in response to John Galt

    Hi John,

     

    I'm sorry that I did not respond earlier.

    You linked to a movie about Console and logging (log), - I didn't have the time to see it.

    Come back to you tomorrow.

     

    I'm no programmer, nor a developer.

    It seems to me that Console has become a lot more complicated to interpret...

     

    Jur Kuipers, The Netherlands

  • by jurkuipers,

    jurkuipers jurkuipers Sep 24, 2016 3:52 PM in response to Cerebro
    Level 1 (18 points)
    Mac OS X
    Sep 24, 2016 3:52 PM in response to Cerebro

    Echo that Cerebro!

     

    Are you aware of this discussion? - Re: Sierra and Time Machine

     

    It seems that the best thing to do - to make Time Machine work again - is to quit virusscanner (if you have this) and exclude your TM-Drive from Spotlight to prevent it indexing

     

    See also John Galt's statement (via that thread via link above, - hope he doesn't mind I copied him from that discussion...).

     

    John Galt (also above...) stated:

    John GaltJohn GaltSep 24, 2016 8:12 AM in response to arizonadonn

    Level 8 (49,085 points)

     

    Mac OS X

    Sep 24, 2016 8:12 AM Re: Sierra and Time Machinein response to arizonadonn

    arizonadonn wrote:

     

    It's stuck on 'Preparing Backup'.

     

    Please read macOS Sierra: If Time Machine remains in the “preparing” stage.

     

    I looked at Time Machine Buddy in my widgets also! - though that Widget was not updated for years and because of this it's not working all the time. Widgets do not have high priority in the latest OS X en macOS anymore...

    So... I looked in Console for TM Activity... -

    Now Console is updated with a new interface.

    Hope John Galt can help. (see above)

  • by jurkuipers,Helpful

    jurkuipers jurkuipers Sep 24, 2016 4:59 PM in response to jurkuipers
    Level 1 (18 points)
    Mac OS X
    Sep 24, 2016 4:59 PM in response to jurkuipers

    from other discussion... (Re: Sierra and Time Machine)

     

    chuckosmundchuckosmundSep 24, 2016 4:33 PM in response to cfsdoriga

    Level 1 (4 points)

     

    Sep 24, 2016 4:33 PM Re: Sierra and Time Machinein response to cfsdoriga

    I turned off Sophos on demand scanning, and my Timemachine backup is finally running, and backing up to my Time Capsule.  In trying to figure out how to solve this, I ran across a useful command which can be entered in Terminal and which allows you to monitor the progress of a Timemachine backup. 


    log stream --style syslog --predicate 'senderImagePath contains[cd] "TimeMachine"' --info

  • by John Galt,Helpful

    John Galt John Galt Sep 24, 2016 5:03 PM in response to jurkuipers
    Level 8 (49,642 points)
    Mac OS X
    Sep 24, 2016 5:03 PM in response to jurkuipers

    I have been using the following


    log show --predicate 'subsystem == "com.apple.TimeMachine"' --info | grep 'upd: (' | cut -c 1-19,140-999
    
    


    Needless to say any non-Apple "anti-virus" garbage including "Sophos" should be uninstalled.


  • by jurkuipers,

    jurkuipers jurkuipers Sep 25, 2016 12:57 PM in response to John Galt
    Level 1 (18 points)
    Mac OS X
    Sep 25, 2016 12:57 PM in response to John Galt

    Hi John (to John Galt),

     

    I looked at the video “Unified Logging and Activity Tracing” you linked to.

    Unfortunately I know nothing about computer languages…, extracting logs from Console  is a bit to complicated for me…

     

    Luckily you came with a command line for Terminal that extracts TM-history from the logs.

     

    Jur Kuipers, The Netherlands

  • by jurkuipers,Solvedanswer

    jurkuipers jurkuipers Sep 25, 2016 1:00 PM in response to jurkuipers
    Level 1 (18 points)
    Mac OS X
    Sep 25, 2016 1:00 PM in response to jurkuipers

    John Galt and chuckosmund both solved my question.

     

    By copying this command line (from John Galt) in Terminal I can view TM-history-logs to a couple days back;

    log show --predicate 'subsystem == "com.apple.TimeMachine"' --info | grep 'upd: (' | cut -c 1-19,140-999

    This command line also gives information of a running TM “on the fly”, but after TM stops copying I have to put in the command line again when TM starts up for a new copy (I can live with that…)

     

     

    By copying this command line (from chockosmund) in Terminal I can view what TM is ding on the fly, but don’t get history-logs;

    log stream --style syslog --predicate 'senderImagePath contains[cd] "TimeMachine"' --info

    This command line makes that Terminal constantly shows new TM-logs.

     

    Thank you John Galt and chuckosmund!

     

    Jur Kuipers, The Netherlands.

     

     

    PS

    Oh… And I don’t use Sophos and my Time Machine is working fine after some difficulties.

    ... not so for many for Sophos-users…

    For Malware-detection I use “Malwarebytes” (a small free app) once and a while, - sufficient of me….

  • by Curtis Tucker,

    Curtis Tucker Curtis Tucker Sep 26, 2016 7:31 PM in response to jurkuipers
    Level 2 (281 points)
    Desktops
    Sep 26, 2016 7:31 PM in response to jurkuipers

    Thank you for these terminal commands! Time Machine info used to be easily extracted from Console. I'm hopeful that there will be an easier method for getting Time Machine information in the near future but for now this works!