« Previous 1 2
macOS file recovery and security
Salvage
Avoiding Data Loss with More Security
To prevent data loss on a Mac, especially if it is used in a home office or on the road, it is a good idea to look at the various firewall options. Although the operating system has a built-in firewall, attackers can work around it easily with additional tools. The first thing you should do is check System Preferences | Security & Privacy | Firewall to see whether the firewall is active, which is not the case after installing macOS 11. To enable the firewall, click on the lock icon, enter your Apple ID, and start protection by clicking the Turn On Firewall button, which will make advanced security options available from the Firewall Options button.
An external tool is necessary to keep a general overview of the programs that open Internet connections. Although the macOS built-in firewall blocks incoming connections, it does not give you control over outgoing traffic. The open source LuLu [10] firewall allows more control.
After installing LuLu, you can specify which Apple applications you want the firewall to allow automatically. You can also automatically approve the internal macOS applications and block only external programs. The settings are in the Preferences option under the Shield in the menubar. For each program that tries to establish an Internet connection, a window appears that displays the details, where you can define whether the respective application is allowed to communicate externally. Allow permits the data traffic, whereas Block prevents it. If you want to allow only temporary access, then use the temporarily option. LuLu has a rules menu item that lets you call up the firewall rules to configure access or delete rules. If the application tries to access the Internet again, LuLu displays a window, and you can decide whether to allow or block.
Conclusions
To avoid data loss from the outset, it makes sense to start with system security and keep an eye on the firewall and outbound network traffic. If a mishap does happen, the tools and on-board resources presented here can help you recover data, which is easiest if a data backup with Time Machine has been implemented. See also the "Clean Up and Optimize macOS" box for a way to keep your filesystem orderly.
Clean Up and Optimize macOS
The free AppCleaner [11] software lets you remove apps and associated files that are no longer needed. The tool searches for these files stored on the system and deletes them. Documents you have created with the apps being interrogated are, of course, not affected by this procedure. The tool on a macOS 12 system reliably found all linked directories and folders in my tests. You do not have to perform the deletion process with the tool itself, but you can search for the files and directories in the Finder and delete the associated files and directories yourself. In this way, you can free up storage space and optimize the system at the same time. You can also avoid data loss with the tool, because it removes programs you no longer need in a controlled way.
Infos
- Clonezilla: https://clonezilla.org
- Restoring files with Time Machine and Spotlight: https://support.apple.com/guide/mac-help/recover-files-time-machine-spotlight-mh15136/mac
- TimeMachineEditor: https://tclementdev.com/timemachineeditor/
- Disk Drill: https://www.cleverfiles.com
- EaseUS Data Recovery Wizard for Mac: https://www.easeus.com/mac/mac-data-recovery/
- Recoverit: https://recoverit.wondershare.com/data-recovery-mac.html
- Free Mac Any Data Recovery: https://mac-data-recovery.com/free-mac-any-data-recovery.html
- PhotoRec: https://www.cgsecurity.org
- Reset SMC, PRAM, and NVRAM: https://www.macworld.com/article/224955/how-to-reset-a-macs-nvram-pram-and-smc.html
- LuLu: https://objective-see.com/products/lulu.html
- AppCleaner: https://freemacsoft.net/appcleaner/
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy ADMIN Magazine
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Most Popular
Support Our Work
ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.