vault backup: 2025-02-03 08:29:48
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
13
2 Personal/Home Lab/MAC/Automation.md
Normal file
13
2 Personal/Home Lab/MAC/Automation.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Project Ideas
|
||||
- send email when TimeMachine Backup has not completed in X days.
|
||||
# Brew
|
||||
|
||||
# Menubar
|
||||
https://macmenubar.com/tag/free/
|
||||
|
||||
# Alfred
|
||||
https://www.youtube.com/watch?v=FXV-zwkRMxo&ab_channel=JeffSu
|
||||
|
||||
Dropzone: https://aptonic.com/
|
||||
|
||||
|
||||
34
2 Personal/Home Lab/MAC/Software Management on MacOS.md
Normal file
34
2 Personal/Home Lab/MAC/Software Management on MacOS.md
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
aliases:
|
||||
- brew
|
||||
- homebrew
|
||||
---
|
||||
Software can come from several different sources:
|
||||
1. App Store
|
||||
2. Just downloaded from the Web
|
||||
3. Homebrew
|
||||
4. built locally
|
||||
|
||||
Whenever possible I use `brew` to manage software and its dependencies on my mac.
|
||||
|
||||
# Automation
|
||||
The update
|
||||
|
||||
# Software Sources
|
||||
- [ ] alle programme von mas-cli zu homebrew wechseln. #todo/p
|
||||
- [ ] script das wöchentlich updates zieht via homebrew #todo/p
|
||||
## Homebrew
|
||||
### Cheatsheat
|
||||
1. ```brew update && brew upgrade `brew outdated` ```
|
||||
2. `brew upgrade && brew upgrade --cask`
|
||||
Upgrades all packages that have been installed through brew.
|
||||
### Autoupdate
|
||||
My mac uses brew to autoupdate every 24 hours.
|
||||
I used the the [autoupdate package](https://github.com/DomT4/homebrew-autoupdate) and the following command for this:
|
||||
`brew autoupdate start 86400 --upgrade --cleanup --immediate --sudo`
|
||||
|
||||
## App Store
|
||||
In order to automate the app store interactions there is a command line interface (CLI) called [mas-cli](https://github.com/mas-cli/mas). It allows us to manage the dependencies in an automated manner.
|
||||
|
||||
- To update all apps run: `mas upgrade`
|
||||
- To list all outdated apps run: `mas outdated`
|
||||
9
2 Personal/Home Lab/MAC/TimeMachine.md
Normal file
9
2 Personal/Home Lab/MAC/TimeMachine.md
Normal file
@@ -0,0 +1,9 @@
|
||||
After upgrading to MacOS 12.7 my time machine backup does not work anymore.
|
||||
|
||||
I have read to debug you can look at the logs:
|
||||
|
||||
``` bash
|
||||
printf '\e[3J' && log show --predicate 'subsystem == "com.apple.TimeMachine"' --info --last 6h | grep -F 'eMac' | grep -Fv 'etat' | awk -F']' '{print substr($0,1,19), $NF}'
|
||||
```
|
||||
|
||||
It couldn't find the disk anymore, even though it was available. Thus, I removed it and re-added it, but it did not recognise the disk as the same. All old backups needed to be deleted and a fresh full backup needed to be done.
|
||||
Reference in New Issue
Block a user