tldr/pages.de/osx/tmutil.md

37 lines
890 B
Markdown
Raw Normal View History

# tmutil
2021-03-25 16:42:04 +00:00
> Dienstprogramm zum Verwalten von Time Machine-Backups. Die meisten Befehle erfordern Root-Rechte.
> Weitere Informationen: <https://ss64.com/osx/tmutil.html>.
- Setze ein HFS+ Laufwerk als Backupziel:
2021-03-25 16:42:04 +00:00
`sudo tmutil setdestination {{pfad/zu/einhänge_punkt}}`
2021-03-25 16:42:04 +00:00
- Setze eine APF-Freigabe oder SMB-Freigabe als Backupziel:
`sudo tmutil setdestination "{{protocol://benutzer[:passwort]@host/share}}"`
2021-03-25 16:42:04 +00:00
- Hänge das angegebene Ziel an die Liste der Backupziele an:
2021-03-25 16:42:04 +00:00
`sudo tmutil setdestination -a {{ziel}}`
2021-03-25 16:42:04 +00:00
- Aktiviere automatische Backups:
`sudo tmutil enable`
2021-03-25 16:42:04 +00:00
- Deaktiviere automatische Backups:
`sudo tmutil disable`
- Starte ein Backup im Hintergrund, falls nicht bereits eines läuft:
`sudo tmutil startbackup`
- Starte ein Backup im Vordergrund, falls nicht bereits eines läuft:
`sudo tmutil startbackup -b`
2021-03-25 16:42:04 +00:00
- Stoppe ein laufendes Backup:
`sudo tmutil stopbackup`