Backup and recovery are essential on any device. Not having a verified backup and recovery procedure puts your data at risk of loss.
People often learn this only after their data is lost for good. Any Attempts at recovering lost data loss can take up h a lot of your time and a lot of money. Ensure that you have a plan in place that protects your data in order to ensure that this never happens to you.
There are several questions to ask yourself before you look at putting a plan in place:
There are many different ways and different software out there to provide backup and recovery. Making the best choice for you must consider several things:
How fast would you need the data back up? Can you keep working if the data is not recovered for a day, a week, and so forth?
How much data are you prepared to lose? Can you lose two hours, two days or two weeks of data?
For example: If you can withstand losing one week of data, then a weekly backup would be sufficient. However, if you can only withstand losing one day then you would be required to employ a nightly backup - or a variation.
This article covers three basic types of backup:
A full backup backs up everything in the location you select.
An incremental backup backs up everything that has changed since the last backup.
A differential backup is the same as an incremental if your running Linux or macOS. In Windows, it is a backup that does not clear the archive bit.
You can choose from these three methods. (Depending on the money that you have to spend and the specific RTO and RPO you have selected.) :
Manual backup can be initiated on a schedule by you and is the most common method for home users to backup your files. This method is also the least reliable, but is the cheapest.
Automated backups are ones that target media physically attached to the computer being backed up. Advanced home users and small businesses often use this method.
Automated backups are ones that target media over a network. Businesses that have money they can dedicate to the process of backup use this type of backup. As the organization becomes more mature, they may even stage the backup on multiple mediums and increase the distance between backup and production computers.
Ubuntu file systems record three different times for each file:
mtime
:
Modification time is when the value is changed when the contents of the file is changed.
atime
:
Access time is when the value is changed when the file is accessed. The atime can change when a backup utility or script reads the file in addition to when a user reads the file.
ctime
:
Change time is when the value is updated whenever the attributes of the file change. This can be ownership or permissions.
Windows file systems record only two for each file. It is either set or clear.
When set, it indicates that the file has changed since the last backup operation. Windows file system sets this attribute on any file that has changed. Backup software then has the duty of clearing it upon a successful backup.
It is crucial that your backups be tested by restoring from them.
Here are some tests that you should do to ensure you can recover from a loss:
Restore many single files.
Restore an older version of a file.
Restore an entire folder.
Restore an entire drive and compare the checksum.
If you do not test, you may find out that nothing was being backed up when you must restore the files in reality.