Problem Statement
Describe a basic backup strategy for a Linux production server.
Explanation
Use rsync or tar to perform daily backups of key directories like /etc, /home, and /var.
Automate the process with cron and store backups on an external drive or remote storage. Always test restore procedures regularly.
Code Solution
SolutionRead Only
rsync -av /var/www /backup/webdata/
Practice Sets
This question appears in the following practice sets: