Disaster Recovery
This, and subseqent documents, will attempt to avoid being procedural, as technical details can and will change, but will attempt to be conceptual with general details.
Scope we will cover includes:
- Data backup/restore
- Security monitoring/access
- Power outages
Data Backup/Restore
In CMS, the restoration goal is a Restoration Data Point (RDP) of 1 month, meaning that as a goal data should be restored to no more than one month before the disaster.
Archives are not kept for data, because they present an ongoing cost for media maintenance. Devices must be kept that read the media, or media needs to be transcribed to new media, eg. CD backups need CD readers → DVD backups need DVD readers, etc.
It became prohibitively costly to maintain a tape library for the few terabytes of data that needed to be backed up.
Tangentially, we discontinued subscription for the backup software involved in running a tape library for backup.
As a result, the entire backup/restore operation is cost free, minus the ongoing cost of physical tapes.
Currently, there is zero off-site backup. All physical media is stored on-site, either in the same room as the device(s) or in an adjacent room.
Devices to Backup/Restore
The philosophy has always been to store important data centrally, and then backup the data from the central location.
This is the opposite of a distributed system where data is kept on computation nodes, and then backed up individually, which complicates restoral and data disposition.
The file server (filer) in this case is the central data location in which all important data is held.
Fortunately, it is a NetApp device, which means it can handle NDMP, a network-based data backup protocol that defines basically 3 components in any backup system:
- Data interface
- Tape/SCSI interface
- File history/logging interface In this way, backup devices can be physically and geographically separate from the backup software and/or the data device to be backed up.
---
title: NDMP in concept
---
flowchart LR
subgraph Backup Host
UI[Backup Software]
Cache[(Database)]
end
subgraph File Server
FS[(Disk Storage)]
end
subgraph Storage
Tape(Tape Device/Library)
end
UI --> FS
UI <--> Tape
FS .-> Tape
Tape -. index of files .-> Cache
Historically, as with the tape library and commercial software, the tape library was attached to the file server. The advantage of this was the data did not have far to travel and was much faster to write via local SCSI rather than Cat-6 network.
---
title: Historical Config with Tape Lib
---
flowchart LR
subgraph BH[Backup Host]
UI[Backup Software]
Cache[(Database)]
end
subgraph NA[File Server]
FS[(Disk Storage)]
Tape(Tape Library/Robot)
end
UI --> FS
UI <--> Tape
FS .-> Tape
Tape -. index of files .-> Cache
style NA fill:#000,stroke:#346b94
style BH fill:#aaa,stroke:#2dccc7
Current Operation is with the Tape Device on the Backup Host:
---
title: Current Config
---
flowchart LR
subgraph Backup Host
UI[Backup Software]
Cache[(Database)]
Tape(Tape Drive)
end
subgraph File Server
FS[(Disk Storage)]
end
UI --> FS
UI <--> Tape
FS .-> Tape
Tape -. index of files .-> Cache
The disadvantage here is the data to be backed up must travel over the network, to the Backup Host where the tape drive is attached.
This takes considerably longer, as network transfer speeds are much slower than SCSI.