vault backup: 2025-02-03 08:29:48

This commit is contained in:
2025-02-03 08:29:48 +01:00
parent 7909836706
commit ad227f2d69
2018 changed files with 27268 additions and 46 deletions

View 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/

View 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`

View 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.