Implement a backup and restore tool that creates a compressed tar archive of a directory, computes its…
Implement a backup and restore tool that creates a compressed tar archive of a directory, computes its…: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). backup — Create a backup of a source directory: - Accepts…
The task
**backup** — Create a backup of a source directory: - Accepts: `--source <dir>`, `--catalog <dir>`, `--name <backup_name>`, `--incremental` (optional flag) - Creates a `.tar.gz` archive of the source directory contents - Computes SHA256 checksum of the compressed archive - Stores the archive as…