Build a command-line tool /usr/local/bin/backup that creates and restores incremental backups with checksum…
Build a command-line tool /usr/local/bin/backup that creates and restores incremental backups with checksum…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Creates a timestamped backup of all files under <source dir . The backup directory <backup dir must already…
The task
Creates a timestamped backup of all files under `<source_dir>`. The backup directory `<backup_dir>` must already exist. The backup is stored as a directory named `<backup_dir>/backup_<ISO8601_timestamp>` where timestamp uses the local timezone (not UTC) with format `YYYY-MM-DDTHH:MM:SS±HH:MM` (e.g.,…
Part of ai-and/termgrade-environments.