How to restore and/or completely delete browsing history in Safari on Mac computers?
Occasionally, users clear their internet browsing histories and later regret it, since the information can be useful. Clearing browsing history on Safari is very simple - in a few clicks, all recently-visited URL addresses are removed. If, however, you (or someone else) clear the browsing history as a matter of routine, or without thinking, important addresses may be lost and you might want to revert the action.
- Start by closing the Safari browser (if running). Connect the Time Machine backup drive on which you have stored the most recent backup file for your Mac. Then launch the Finder application from Dock and click on the Go option in the menu bar at top of the screen. Choose the Go To Folder function.
- Step Three: Reinstall macOS. With your information wipe complete, you are now ready to reinstall macOS. If you booted from a functioning recovery partition, click the 'Reinstall macOS' button. The installation process will begin. If you booted from an USB disk, click 'Continue' to advance to the installer.
Search for com.apple.Safari.savedState and Move to Bin. After that, close all the open windows. Step 3: Open Terminal. Besides, to all the above three steps we need to use the command line to make sure that our Safari is reset properly. Therefore, we will go ahead and open Terminal to reset Safari on macOS.
Additionally, you might need to check the last browsing activities on your Mac computer (or another user's Mac), but find that the history was deleted. This may appear the be an irrecoverable situation, however, the Safari browsing history is not deleted permanently when clicking 'Clear History' within the application. Although, you might have cleared the browsing history within Safari and are unable to find it under 'History', the records remain within the Mac storage. Knowing the location of Safari's history file is useful not only to restore the lost URL addresses, but also if you wish to completely hide or remove your browsing details. The easiest way to restore deleted browsing data is to use Time Machine's backup. In this article, we cover the methods to restore cleared internet browsing history.
Table of Contents:
It is recommended to run a free scan with Malwarebytes - a tool to detect malware and fix computer errors. You will need to purchase the full version to remove infections and eliminate computer errors. Free trial available.
Recover cleared Safari browsing history on Mac
The easiest way to recover your deleted browsing history is to use a Time Machine backup. To follow this method, you must have previously created a backup. Start by closing the Safari browser (if running). Connect the Time Machine backup drive on which you have stored the most recent backup file for your Mac. Then launch the Finder application from Dock and click on the Go option in the menu bar at top of the screen. Choose the Go To Folder function. When a new window pops-up requesting that you enter the path, type following and click Go:
- ~/Library/Safari/
Under the Safari folder, locate the file called 'History.db' and select it. Then click on the Time Machine icon in the menu bar at top of the screen beside the Wi-Fi icon. Select the Enter Time Machine option from the expanded menu.
A new window with Time Machine backup will open. Install ms office on mac. Browse through the available backup files and look for History.db under the Safari folder. Select it and click the Restore button at the bottom of the window.
Time Machine will automatically restore the required file. When the process is finished, the Safari browsing history is restored. Launch Safari again. You can now expand the history items that were saved to the backup file. If you wish to check all items in the history, click on History in the menu bar at the top of the screen and select the Show all History option. Alternatively, use the keyboard shortcut of Command and Y to access all history. The list with all saved URLs will appear. To make navigation easier, you might consider using the search field at the top right corner of the Safari window.
Note that History.db is essentially a database file that can be reviewed with any SQL editor. You can also freely navigate the data by entering SQL queries. This method relates to Mac computers. You can restore browsing history on iOS devices with a similar method, however, rather than a Safari file, you must restore the whole device. You can restore the iOS device via an iTunes or iCloud backup.
Video Showing how to restore deleted Safari browsing history on Mac
Nov 16, 2020 • Filed to: Solve Mac Problems • Proven solutions
If you have a similar question in mind, then we have got you covered. Just like any other computer, Mac systems can also suffer from unwanted issues at times.
In this guide, we will teach you how to boot Mac into recovery mode and reinstall macOS without losing your data. Ctrl key on mac. Let's explore this macOS solution in detail.
When to reinstall macOS?
There are all kinds of reasons for us to reinstall macOS on the system. The following are some of the common problems that force a complete reset on a Mac.
- Firmware issues – Mostly, a firmware issue related to macOS demands a reinstallation of the operating system. It can happen when macOS seems to malfunction and can't complete the needed operations.
- Startup issues – Apart from the firmware, there would be a problem with your Mac's startup or bootstrap program as well. Mostly, the issue is resolved by visiting the Mac recovery mode.
- Corrupt OS – Ideally, your macOS can get corrupt or compromised due to different reasons. In order to fix it or run troubleshooting, you would need to reinstall the OS.
- Malware attack – A virus or malware can also infect the core function of macOS and would demand a complete reinstallation of the tool.
- Other issues – There could be numerous other issues with your Mac as well that would demand a reinstallation. For instance, if your system has been upgraded to a corrupt macOS version or the update was halted in between, then you need to reinstall OS X.
Preparations before reinstalling macOS
Before we teach you how to reinstall macOS X, there are certain vital things that you need to consider.
- Mostly, it takes 30 minutes to 3 hours to reinstall macOS (the exact time would vary among different OS and system models). Therefore, your Mac should be charged enough to complete the installation.
- During the reinstallation process, your Mac might be overheated or restart multiple times. It is recommended to not keep it in direct sunlight or a hot place during the process.
- Chances are that your existing data on Mac might be deleted after the reinstallation. Thus, you can consider taking its backup if you don't want to lose it.
- Disconnect all the attached units like USB drive, SD card, etc. from your Mac beforehand. Also, if you think your system has been infected by malware, then consider formatting it as well.
- Your system might download the needed patches and updates during the process. Keep your Mac connected to a stable internet connection for a seamless updating.
Once you are ready, simply take the following steps to reinstall macOS without losing its data.
How to Reinstall Mac OS?
Step 1: Backup Files on Mac
Reload Safari On Mac
If you don't want to suffer from an unexpected loss of your important files during the reinstallation, then you should take a backup of your data beforehand. There are different ways to backup data on Mac.
1. Backup files Using Time Machine
Time Machine is the inbuilt solution to backup data on Mac and restores it afterward. If you do not want to let go of your important files during the reinstallation process, then consider taking their backup beforehand. You can use an external data source so that Mac can create a Time Machine on it. Mostly, Time Machine will detect a connected unit and would ask you to take its backup automatically. If not, then follow these steps to back up your Mac data using Time Machine.
- Simply connect a secure data storage to your Mac and launch Time Machine by visiting Menu > System Preferences > Time Machine.
- Here, click on the 'Select Backup Disk' so that you can manually choose a location to save the backup content.
- As a pop-up screen would appear, just select the available drive and confirm your choice. If you want, you can choose to encrypt your data as well.
- To further customize things, you can visit its 'Options' and even enable the automatic backup feature.
- As a pop-up screen would appear, just select the available drive and confirm your choice. If you want, you can choose to encrypt your data as well.
2. Backup files Using Cloud Storage
As you know, Time Machine will only take a manual backup of your Mac data to a dedicated storage unit. If you want to save your data on the cloud, then take the assistance of iCloud, Google Drive, Dropbox, OneDrive, or any other cloud-based service. Since iCloud is the native cloud storage solution from Apple and an inbuilt Mac app, it is widely recommended. You can easily backup files to iCloud from Mac by following these steps.
- Firstly, go to System Preferences and launch the iCloud app. If you are not logged in, then enter your Apple account details to sign-in.
- The iCloud app has options to sync various data types. Simply enable the features (by checking it) and turn on the backup feature.
- There is an 'Option' button adjacent to some data types (like Photos) that you can visit to customize your backup.
- You can go to the 'Manage' section from here to view how much space is left on iCloud. Since only 5 GB of space is provided for a free (basic) account, you can also upgrade your account as well to get more space on iCloud.
3. Backup files Using External Hard Drive
If you are running short on time, then you can also take a manual backup using an external hard disk as well. Just connect the hard disk to your Mac and make sure that you are using a hard drive that is compatible with your macOS. Now, simply copy the content from your Mac's storage that you wish to save and paste it to the external hard disk. In this way, you would be able to maintain a second copy of all the important data at a dedicated source.
Step 2: Boot Mac in the Recovery Mode
Once you have taken a backup of your Mac data, you need to restart in the recovery mode. The Mac Recovery Mode is a dedicated module in the operating system that provides all kinds of firmware and disk-related options. You can run disk utilities via the Recovery Mode on MacBook, reinstall macOS, recover Time Machine backup, and do so much more. In order to learn how to restore Mac in recovery mode, follow these steps:
- Simply connect a secure data storage to your Mac and launch Time Machine by visiting Menu > System Preferences > Time Machine.
- Here, click on the 'Select Backup Disk' so that you can manually choose a location to save the backup content.
- As a pop-up screen would appear, just select the available drive and confirm your choice. If you want, you can choose to encrypt your data as well.
- To further customize things, you can visit its 'Options' and even enable the automatic backup feature.
- As a pop-up screen would appear, just select the available drive and confirm your choice. If you want, you can choose to encrypt your data as well.
2. Backup files Using Cloud Storage
As you know, Time Machine will only take a manual backup of your Mac data to a dedicated storage unit. If you want to save your data on the cloud, then take the assistance of iCloud, Google Drive, Dropbox, OneDrive, or any other cloud-based service. Since iCloud is the native cloud storage solution from Apple and an inbuilt Mac app, it is widely recommended. You can easily backup files to iCloud from Mac by following these steps.
- Firstly, go to System Preferences and launch the iCloud app. If you are not logged in, then enter your Apple account details to sign-in.
- The iCloud app has options to sync various data types. Simply enable the features (by checking it) and turn on the backup feature.
- There is an 'Option' button adjacent to some data types (like Photos) that you can visit to customize your backup.
- You can go to the 'Manage' section from here to view how much space is left on iCloud. Since only 5 GB of space is provided for a free (basic) account, you can also upgrade your account as well to get more space on iCloud.
3. Backup files Using External Hard Drive
If you are running short on time, then you can also take a manual backup using an external hard disk as well. Just connect the hard disk to your Mac and make sure that you are using a hard drive that is compatible with your macOS. Now, simply copy the content from your Mac's storage that you wish to save and paste it to the external hard disk. In this way, you would be able to maintain a second copy of all the important data at a dedicated source.
Step 2: Boot Mac in the Recovery Mode
Once you have taken a backup of your Mac data, you need to restart in the recovery mode. The Mac Recovery Mode is a dedicated module in the operating system that provides all kinds of firmware and disk-related options. You can run disk utilities via the Recovery Mode on MacBook, reinstall macOS, recover Time Machine backup, and do so much more. In order to learn how to restore Mac in recovery mode, follow these steps:
- Firstly, go to the main menu by clicking on the Apple icon and choose to restart your system.
- While the system is restarting, press the Command and R keys at the same time till your Mac enters the Recovery mode.
- When you get the utility window on the screen, just click on the 'Reinstall macOS' option and continue the process.
Please note that if you wish to upgrade your Mac instead, then press the Option + R keys instead of the Command + R key combination.
Step 3: Erase the Mac Hard Disk
This is an optional step during the reinstall macOS process as a lot of people would like to delete the existing data on their system. If you are reselling your Mac or your system has been infected by malware, then you can consider this option as well.
- When you get the macOS utility window, click on the 'Disk Utility' option instead of reinstalling it. You can also go to the 'Utilities' menu to get this option.
- As the Disk utility window will open, you can just select the drive that you wish to erase from the left panel.
- On the right, you will get detailed information with numerous other tools. Just click on the Erase icon and confirm your choice (by entering the firmware password).
This will start the erasing process on the selected drive. You can also go to the Security Options here to further customize things.
Step 4: Reinstall Mac OS X without Losing Data
When you get the macOS utility window on the screen, you can just click on the 'Reinstall macOS' option to proceed. Afterward, you simply need to follow this basic drill to reinstall macOS on your system.
- A confirmation message will appear, informing you about the reinstallation details. Just click on the 'Continue' button to proceed.
- Subsequently, you will be asked on which disk you wish to install macOS. Simply select the inbuilt disk on your Mac to start the process.
- That's it! Your system will reinstall macOS on it by performing all the needed tasks. You can just sit back and wait for the process to be completed and make sure that you don't turn off Mac in between.
- In the end, you can just choose to restore data from the Time Machine backup. You can get this option from the macOS Utilities or just launch the Time Machine application on your system as well.
How Do I Reinstall Safari
Recover Erased Files after Reinstalling Mac OS
A lot of times, users are not able to maintain the backup of their data and end up losing their important files during the macOS reinstallation. If you have also lost your data on Mac due to this, then don't worry – simply take the assistance of Recoverit Mac Data Recovery software. A highly advanced data recovery tool can retrieve all kinds of lost, deleted, and inaccessible content from your Mac storage. It is known to b yield positive results under all scenarios, including data loss caused by macOS reinstallation.
After installing Recoverit Data Recovery on your Mac, simply follow these basic steps to get your data back.
Step 1: Select a Location
Firstly, you need to install Recoverit Data Recovery on your Mac by downloading the application from its website. Launch it whenever you want to restore notes on Mac and select a source location to scan. That is, select the native source drive of Mac and click on the 'Start' button.
Step 2: Scan the Location
As the application would start scanning your Mac for the lost notes, you can just wait for a while for the process to be completed. The interface will also display the progress of the entire process for your convenience.
Step 3: Preview and Recover
When the extraction process is completed, the application will notify you. Now, you can just preview and select the files you wish to get back. Click on the 'Recover' button and make sure that you save your notes to a trusted location.
How To Reinstall Safari On Mac Yosemite
I'm sure that after following this guide, you would be able to reinstall macOS without losing data. Since working on Mac can be a bit tricky at times, it is recommended to always maintain a backup beforehand. Also, consider using a data recovery tool like Recoverit Data Recovery as well. In this way, you can take immediate measures as soon as you lose any information and get it back without much trouble. Recoverit also provides a data recovery solution for Windows as well and is considered a must-have application for both Mac and Windows users.