A spare-machine Gitea forge, hardened, backed up and with CI, as a template. Personal values are placeholders listed in the README.
1.2 KiB
1.2 KiB
type, purpose, answers, cites
| type | purpose | answers | cites | ||||
|---|---|---|---|---|---|---|---|
| Module | Say what each script in scripts/ does, where it runs, and which guide drives it. |
|
|
scripts/
| Script | Runs on | Does | Guide |
|---|---|---|---|
scripts/backup.sh |
server, as the admin user | manual tar backup of gitea-data/ to the backup drive plus restore test; verify ARCHIVE re-checks one |
10 |
scripts/gitea-backup |
server, root, installed to /usr/local/sbin/ |
nightly restic backup and its subcommands (init, run, snapshots, check, restore-test, test-mail, notify-failure) |
11, ops |
scripts/chkdsk-vm.sh |
a separate Linux PC, not the server | boots a Windows Setup VM with the backup drive passed through for chkdsk |
ntfs-repair |
gitea-backup runs from the systemd units in systemd/
(gitea-backup.service, .timer, gitea-backup-failed.service); the guide
for 11 lists where each is installed.