Regularly backing up your Mac with Time Machine can prevent data loss and allow you to restore earlier versions of files. To ...
Automatically start a Time Machine backup when you plug in the drive and dismount the drive when the backup is complete.