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 Environments: 1,004 executable Linux tasks (Harbor dataset). backup — Create a backup of a source directory: - Accepts: --source <dir , --catalog <dir , --name <backup name…
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…
Part of ai-and/termgrade-environments.