2026-07-25 14:11
Status:
Tags: System Admin System Infrastructure Coursera Learning Google IT Certificate - Technical Support & Fundamentals System Administration and IT Infrastructure Services Data Storage Data Recovery
SAIIS - Module 5 - Data Recovery & Backups
==Planning for Data Recovery
-
What is data Recovery?:
- Data recovery is the process of trying to recover data from some sort of broken data storage medium, like a phone or a harddrive
- If the data was deleted, corrupted, or hardware broken, you would want to try and recover that data
- If the hardware is broken, you can try and recover data from what is inscribed on the hard-disk using some sort of software that can recognize some broken hardware
- If you have back ups, you can also restore the data from there of course
- When an unexpected event occurs, your main objective is to resume normal operations as soon as possible, while minimizing the disruption to business functions
- The best way to prepare for data-loss is to have a well-thought-out disaster plan and procedure
- This includes things like making regular back up for all of the needed and important data for your business
- Post-Mortem- a way for you to document any problems you discovered along the way, and most importantly, the ways you fixed them so you can make sure they don’t happen again
-
Supplemental Reading for GitLabs Data Recovery:
- Take a look at the link here for GitLabs’s response to the outage and data loss incident.
-
Backing Up Your Data:
- Where do you start?
- First, figure out what data do you need to back up?, this includes things like e-mails databases, sales databases, financial spreadsheets, server configs, and databases are all things you want to backup
- Backing up data is NOT FREE, and the more data you want to back up the more expensive it is, you should think about how much data you have
- Your backup needs will also probably go, so have a dynamic plan
- You can backup data onsite with local storage, making accessing it very easy, and with less network bandwidth, however if the data is destroyed onsite, then the data is lost
- You can also then send the data offsite, to a different location that you control, or save your data in the cloud, it is safer yes, but can be more costly, you need to think of things like encryption and bandwidth
-
Backup Solutions:
- Onsite, or self managed backups could just be something as simple as having a NAS on your network and therefore sending all of the needed back up data over to it, it would work, but it might not be the best long term solution
- You can have both onsite and offsite solutions for backing up your data, and you also have to ask what how long you need to archive the data for. You can have a cheaper storage avenue holding older data, and faster data for newer backups
rsyncis a command line util that basically helps you transfer files:- Onsite, or self managed backups could be something
- Rsync- a file transfer utility that’s designed to efficiently transfer and synchronize files between locations or computers, it supports compression and uses SSH in order to share files, this makes it great for copy data over between single machines
-
Supplemental Reading for Backup Solutions:
- For options to backup data, check out Microsoft Backup and Restore, Apple Time Machine and Rsync as a backup utility.
-
Testing Backups:
- Make sure that your backups are tested and make sure that they are actually recoverable
- Restoration Procedures- should be documented and accessible so that anyone with the right access can restore operations when needed
- Document your procedure and make sure that it works well and that everyone can read it
- You should simulate a disaster event about once a year to make sure that everything works as it should
-
Types of Backup:
- Ways to perform regular backups-
- You can perform a full backup on a regular basis, which makes a copy of the fully backed up data
- In case of data that does not change very often, this can be inefficient because you are storing the same instance of the data that is unchanged, taking up space
- A more efficient approach is a Differential backup which basically only backups up files that have actually been changed since your last backup, you do not store duplicated data
- Eventually, you want to perform infrequent full back ups, while also then doing more frequent differential backups
- Regular Incremental backups- this is a backup that only when the data that’s changed in file since the last incremental backup is backed up, so not the files that have changed, but only the actual data that has changed
- You can also then compress and archive all of your given data, you use complex algorithms to save the data inside of the thing you want to back up
- It can mean that you would need a lot of space to unzip and re-zip these backups though, so be wary
- Redundant Array of Independent Disks (RAID)- a method of taking multiple physical disk and combining them into one large virtual disk
-
User Backups:
- User backups are important, things that a user might want to back up are not as important as an entire database, but they might want to be stored too
- You can use things like cloud storage to back up the people’s storage
- This includes things like Dropbox, Apple iCloud, and Google Drive
- They make it easier for what users want to have backup-ed and then have it saved on their cloud
==Disaster Recovery Plans
-
What’s a disaster Recovery Plan?:
- Disaster Recovery Plan- a collection of documented procedures and plans on how to react and handle an emergency or disaster scenario, from the operational perspective
- It will cover more than just recovery, it will also cover things like prevention and documentation as well
- Preventive Measures- any procedures or systems in place that will proactively minimize the impact of a disaster, things like regular backups and safe systems
- Detection measures- meant to alert you and your team that a disaster has occurred that can impact operations
- You can also have things like, environmental sensors, flood sensors, temp and humidity sensors, and other such times that can alert you to the moment before some sort of disaster is about to take place and destroy any given data inside of a storage server room
-
Designing a Disaster Recovery Plan:
- Perform a risk assessment, which is taking a long and hard look at the characteristics of your teams. It lets you prioritize certain aspects of the organizations that are more at risk if there’s an unforeseen event
- Pay attention to redundancy
- You should have regular and automated backups, with well documented recovery system plans
- Power delivery or supply should always be redundant
- Operational documentation, means all set ups for your critical infrastructure should be documented in case of a disaster, where it needs to be up and running again as fast as possible, also make sure that this documentation is up to date, and it is as correct as it really can be
- Also make sure you have a system that can detect if something is going wrong, have things like system sensors to see why something might be going down
- Make sure that you test these systems very well, and make sure you test everything is working correctly basically
==Post-Mortems
-
What’s a post-mortem?:
- We create a post-mortem after an incident, an outage, or some event when something goes wrong, or at the end of a project to analyze how it went
- This report documents in detail what happened before, during, and after the given critical moment
- It tries to highlight the things that went well and the things that did not
- The purpose of it is to learn from the given mistake that occurred, it is not to punish or shame someone for an issue
- The report then needs to be communicated to other teams in order to help everyone grow together
-
Writing a post-mortem:
- It usually begins with a brief summary, that details everything in the incident, what it was, how long it lasted, it’s impact, and how it was fixed
- Then, you need a detailed timeline of key events which should include everything that happened during the event, including what it was, when someone found out, and what really happened
- Then, the ending should include how it was really all resolved in the end
- Then, you should go over the root cause which covers the details of the issue in great technological detail, it can be things like configurations that were pushed without testing or a typo in a command or something like that
- Then a more detailed documentation of the resolution and recovery efforts, it would be similar to the time line, but goes into more detail for the recovery, including the rational and why things were done
- Lastly, actions to avoid the same scenario, which are ways to avoid this from happening in the future
- It is also important to see what went well, instead of just what went wrong, it has a good effect of showing the benefit of these systems to those that do not understand them fully
==Glossary
Backup and restore: A Microsoft offer and first party solution that has modes of operation, as a file based version where files are backed up to a zip archive
Data recovery: Is the process of trying to restore data after an unexpected event that results in data loss or corruption
Data tapes: The standard medium for archival backup data storage
Detection measure: The measures to alert you and your team that a disaster has occurred that can impact operations
Differential backup: A backup of files that are changed, or has been created since the last full backup
Disaster recovery plan: A collection of documented procedures and plans on how to react and handle an emergency or disaster scenario, from the operational perspective
Disaster recovery testing: A regular exercise that happens once a year or so, that has different teams, including IT support specialists, going through simulations of disaster events
File compression: The files and folder structures are copied and put into an archive
Full backup: The full unmodified contents of all files to be backed up is are included in this backup mechanism whether the data was modified or not
NAS device: A network attached storage device that has hard drives to automatically create backups and store data
Preventative measures: Any procedures or systems in place that will proactively minimize the impact of a disaster
Post mortem: A way for you to document any problems you discovered along the when recovering data, and the ways you fixed them so you can make sure they don’t happen again
RAID (redundant array of independent disks): A method of taking multiple physical disks and combining them into one large virtual disk
Restoration procedures: A recovery process and process needs to be tested regularly that is documented and accessible so that anyone with the right access can restore operation when needed
Risk assessment: Allows you to prioritize certain aspects of the organization that are more at risk if there’s an unforeseen event
Single point of failure: When one part of a system fails and causes the whole system to stop working