Backups are done on the host01 machine and are scheduled via GitLab CI/CD.
They're stored under `/var/backups/registry`.
## Restore
Because uploads are only allowed from the machine that hosts the registry
(ns4), the restore also needs to done there. So first step is copying the
backup directory to ns4 (`scp -r host01.shore.co.il:/var/backups/registry ns4.shore.co.il:/home/nimrod/` should do the trick). Afterwards build the image
on the host (`docker --context ns4 build -t reg-backup .`) and run the restore
script with the directory mounted as a volume (`docker --context ns4 run --rm -v /home/nimrod/registry/:/registry:ro reg-backup restore /registry registry.shore.co.il`).