Created
March 28, 2023 18:37
-
-
Save mrioan/429ffad74419e3a4d4edb2f55830de89 to your computer and use it in GitHub Desktop.
Time Machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p /tmp/TimeMachine; \ | |
sudo mount_smbfs smb://[email protected]/backup/live/TimeMachine /tmp/TimeMachine; \ | |
sudo hdiutil attach -mountpoint /Volumes/TimeMachine /tmp/TimeMachine/mbpm1pro2021.sparsebundle; \ | |
tmutil startbackup -b; \ | |
sh /Users/mario/Misc/scripts/umount_time_machine.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment