HF RL Explorer

Create a command-line tool /app/backup.py that performs checksum-verified backup and restore operations on…

Create a command-line tool /app/backup.py that performs checksum-verified backup and restore operations on…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Goal: - backup create <dir <backupfile — Creates a compressed tar archive of <dir , computes its SHA-256…

The task

**Goal:** - `backup create <dir> <backupfile>` — Creates a compressed tar archive of `<dir>`, computes its SHA-256 checksum, and stores BOTH the archive and its checksum into `<backupfile>`. - `backup verify <backupfile>` — Verifies the checksum stored inside `<backupfile>` against the archive inside `<backupfile>`.…

Part of ai-and/termgrade-environments.