mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Added timemachine notes to the knowledge base
This commit is contained in:
17
knowledge base/timemachine.md
Normal file
17
knowledge base/timemachine.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# TimeMachine
|
||||
|
||||
## TL;DR
|
||||
|
||||
```shell
|
||||
# follow logs
|
||||
log stream --style syslog --predicate 'senderImagePath contains[cd] "TimeMachine"' --info --debug
|
||||
|
||||
# add or set a destination
|
||||
sudo tmutil setdestination
|
||||
```
|
||||
|
||||
## Follow logs
|
||||
|
||||
- use `stream` to keep watching "tail style"
|
||||
- use `--predicate` to filter out relevant logs
|
||||
- add `--style syslog` to watch them in a syslog style
|
||||
Reference in New Issue
Block a user