Problem Statement
How do you restore files from a tar backup?
Explanation
Use the tar -xzf command followed by the backup filename to extract files.
You can specify -C to choose a target directory for extraction. Always check file permissions after restore.
Code Solution
SolutionRead Only
tar -xzf backup.tar.gz -C /restore/
Practice Sets
This question appears in the following practice sets: