Create a command-line tool /app/backup.py that performs verified backup and restore operations on directory…
Create a command-line tool /app/backup.py that performs verified backup and restore operations on directory…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). create /app/backup.py create <source dir <backup file - Recursively walks source dir , computes a SHA-256…
The task
**create** `/app/backup.py create <source_dir> <backup_file>` - Recursively walks `source_dir`, computes a SHA-256 manifest, and writes a tar-like backup file. - The backup file format: a custom binary format (not standard tar) with per-file checksums. - The tool must verify that the backup file was written correctly…
Part of ai-and/termgrade-environments.