A tool to provide quick and stable backups for servers hosted using the Pterodactyl game panel. It requires another machine to run on and an sshfs mount to work correctly, but the goal is to completely offload the backup process and make it independent of the game server or mod loader you're running.
To help prevent unclear errors as a result of misconfiguration and to make sure errors that do occur are handled safely I need to test all configs at launch and before each backup that calls them.
[ ] Test core config and default log config
[x] missing keys
[ ] default entries
[ ] invalid API key
[ ] unresolvable panel domain
[ ] unreachable file
[ ] Uncastable datatypes
[ ] Loop through and test every backup config
[ ] default entries
[ ] missing keys
[ ] unreachable file
[ ] Uncastable datatypes
[ ] That the backup source exists contains files
[ ] Store the YAML map while the backup is running to prevent it from being modified mid-backup
If any of these checks fail when the program starts or when a backup is reading the config file it needs to exit and warn the user. The warning levels and methods will be laid out in another issue.
To help prevent unclear errors as a result of misconfiguration and to make sure errors that do occur are handled safely I need to test all configs at launch and before each backup that calls them.
[ ] Test core config and default log config
[ ] Loop through and test every backup config
[ ] Store the YAML map while the backup is running to prevent it from being modified mid-backup
If any of these checks fail when the program starts or when a backup is reading the config file it needs to exit and warn the user. The warning levels and methods will be laid out in another issue.