🌻 Summer release 🌞
Summer is here in the Northern Hemisphere! A new release is here too! 🎉
A lot of goodies in this release:
new run-schedule command
It's more a behind the scene feature: you no longer need to re-schedule your targets after you changed the configuration. The generated schedule command line is now using this new run-schedule
command that reads all the newest bits from the configuration.
You might want to unschedule
and schedule
all your profiles one last time to replace the existing command line using the new run-schedule
command.
More information: https://creativeprojects.github.io/resticprofile/schedules/commands/index.html#run-schedule-command
direct support for crontab files
Previously resticprofile was using the crontab
tool to read and write crond
schedules. Now you can directly setup a crontab
file no matter which tool is going to consume it.
More information: https://creativeprojects.github.io/resticprofile/schedules/index.html
keep content of configuration variables between commands
This was a big issue for some time. The wait is over! You can now set a configuration variable anywhere in a script and use its value later.
More information: https://creativeprojects.github.io/resticprofile/configuration/run_hooks/index.html#passing-environment-variables
"RESTICPROFILE_{FLAGNAME}" env vars
All cli flags can now be set using environment variables.
More information: #334
allow controlling command output redirection
Allow redirection of the console messages to a log file or to syslog.
More information: #343
Add "--stderr" to redirect console to stderr (for "cat" and "dump")
More information: #353
Add option to set working directory for restic backup
More information: #354
many bug fixes!
Changelog
- 1bbac2a Add "--stderr" to redirect console to stderr (for "cat" and "dump") (#353)
- 0598026 Add documentation on how to ingest resticprofile stats into telegraf (#366)
- f9b5dac Add option to set working directory for restic backup (#354)
- 00360a2 Fix group priority (#339)
- a05ad39 Relative source followup: Evaluate symlinks (#355)
- 56f20af Squashed commit of the following: (#259)
- 6b00c2c add "profile" flag as an alias for "name" (#357)
- 6da0317 also search configuration from ~/.config/resticprofile on macOS (#370)
- 5739b13 crond: add support for crontab file only (on any OS) (#289)
- 9719411 don't replace header value in stringifyHeaders (#327)
- 2a7d5fc drop-ins: move systemd drop-ins into unified schedule struct (#341)
- 7e03741 drop-ins: transparent timer drop-in support (#340)
- 9b2bd8c env-file: Implement dotenv and {{env}} support (#323)
- 16f5dc5 fix remaining unit tests failing in Windows (#360)
- 3b8613e fixed link to config reference / global section (#349)
- 5fad1cb flags: added "RESTICPROFILE_{FLAGNAME}" env vars (#335)
- 85d5afc log: allow controlling command output redirection (#343)
- e5b17d3 restic: use repository-file if the repo flag contains a password (#336)
- 4255868 schedule: added unified schedule config struct (#333)
- 667180e syslog: local syslog and stdout redirection (#344)
- e93874d build with go 1.22 and macOs arm64 (#317)
- e6eed3d update test to pass on Windows 11 (#359)
- 655e9c5 upgrade packages (CVE-2024-24786) (#347)
- 08a01c4 upgrade packages (CVE-2024-6104)