Write a command-line tool backup in Python that performs a checksum-verified backup and restore of a…
Write a command-line tool backup in Python that performs a checksum-verified backup and restore of a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Subcommands: - backup create <source dir <backup dir — creates a compressed, checksummed backup of source dir into…
The task
**Subcommands:** - `backup create <source_dir> <backup_dir>` — creates a compressed, checksummed backup of `source_dir` into `backup_dir` - `backup restore <backup_dir> <target_dir>` — restores the most recent backup from `backup_dir` into `target_dir` and verifies all file checksums - `backup list <backup_dir>` —…
Part of ai-and/termgrade-environments.