W9 Flashcards
What is file compression?
Storing a file’s data in less space by minimizing redundancy in the content
What is an archive?
A collection of folders and files stored in one file
- Files are usually compressed
- Files can be encrypted
- Cross platform exchange
Why use file compression?
- Writing/sending data takes bandwidth and I/O time
- Encrypt off-site data for security
How does file compression work?
- matching and replacement of duplicate strings with pointers
- replacing symbols with new, weighted symbols based on frequency of use
Lossless:
contains all original data with redundancies removed
ex. data archives, PNG/TIFF images, FLAC/ALAC audio
Lossy:
sacrifices quality for smaller file size by dropping fine-grained, subtle details from the original data
ex. GIF/JPG images, most audio, all video
- for end users only, not for modification/editing
Examples of compression file formats Data: Music: Images: Video:
Data: ZIP, 7z, RAR, .docx, .pptx, .xlsx, StuffIt, .tar.gz
Music: MP3, AAC, MQA, WAV, ogg, FLAC
Images: GIF, JPEG, RAW, PNG, TIFF
Video: MPG, MP4, DIVX, XVID, MOV, AVI
Drawbacks to compression:
Time: compression needs CPU and primary storage resources
Space: archived files must be uncompressed before use, extra space needed for both compression and decompression
Integrity: the Lossy sacrifice is reduced quality
Recoverability: data corruption can cause loss of entire archive
Why do we need backups?
Accidental deletion
Hardware failure
Less frequent causes: Ransomware infection Catastrophe SQL injection attacks cloud provider's business failure or account closed on cloud system
What is RAID?
Redundant Array of Independent Disks
Three characteristics that define a backup:
copy
geographically separate location
platform independent
Classic file backup types:
Full + Differential
Full + incremental
What is the 3-2-1 Backup Checklist?
3 copies
- 1 active, 1 local backup, 1 remote backup
2 different formats/platforms (platform independence)
- External drive is platform independent when not plugged in
1 off-site backup (geographically separate location)
- Cloud storage different from your cloud IaaS, PaaS, SaaS provider
Backups do not matter…
Only restore matters
Characteristics of Full + Differential backups
Changes file since last full backup
Full backup is slow, differential backup is faster but gets slower
Restore from Full + Differential is fastest