Skip to content

The GUI, the bad and the ugly

Pre-release
Pre-release
Compare
Choose a tag to compare
@deajan deajan released this 04 Sep 11:03
· 281 commits to main since this release

So this is hopefully the last release candidate before RTM.

Usually, at this stage, we wouldn't add new features, but restic 0.17 made a killer feature that was quite easy to implement.
The feature allows to run commands and backup their stdout, while getting the error codes from said command (I look at you mysqldump !)
It has been implemented as backup_opts.source_type: stdin_from_command and backup_opts.stdin_from_command: your command parameters in the config file.

Another minor feature is --housekeeping CLI parameter which is just a quick shorthand for existing code.
Finally, and since we have housekeeping, a new task creation entry was necessary, in order to fully appreciate it ;)

As usual for the last RCs, CLI didn't really need a lot of love (it's used for more than 100 workloads), but GUI did.
Getting the GUI right si really a painfull experience, but the payout is enough when it comes to quickly write config files that later can be used on headless servers.

Anyway, here's the full list of changes since RC3

  • Features
    • Implement --stdin-from-command restic function
    • Implement --housekeeping shorthand for --check, --forget & --prune
    • Improve task creation
      • Implement housekeeping task creation
      • Fix double task creation on linux
  • GUI fixes
    • Fix slow GUI when lots of snapshots exists, thanks to @markft
    • Fix loading alternative config file, also try to load default config files with absolute paths
    • Fix prometheus labels not saving
    • Fix reloading config UX
    • Improve group inheritance by removing identical group/repo values from repo config
    • Allow the GUI to act as CLI with --run-as-cli argument
    • Improve UX by allowing non existent repos to not drop errors on first load
  • Default logs to current dir for Windows
  • Reintroduce --debug parameter on top of _DEBUG=true
  • Check source type before launching backup