Add a description of what the script does to gen-backup-files

This commit is contained in:
Patrik Holmqvist 2025-01-16 08:43:18 +01:00
parent 978fce9e08
commit e0bef9c728
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -1,4 +1,10 @@
#!/usr/bin/env bash
# This script is intended to generate files used for doing automated restore tests.
# - It will create one static file (once), that always should be the same
# - It will create one file where we append a new timestamp each day
# - It will create one new file each day with the timestamp in the name
# - Lastly it creates a checksum file containing checksums for all files in the folder.
# This checksum file will be used on the restore server to validate a successful restore.
set -eu