How to Set Up a Backup Script with tar
A simple tar backup covers files and configs with little effort. Pair it with cron and, if possible, an off-site copy.
Steps
Create a backups directory and an executable script.
mkdir -p ~/backupsnano ~/backup.shExample script (adjust paths):