Configuration profiles manager and scheduler for restic backup
It's been a while since we released a new version 😞 The resticprofile team has been busy preparing some really cool new features:
bash
, can also be used by zsh
with bash compatibility) - Thanks @jkellerer for the PR #90mysqldump
) - Thanks @jkellerer for the PR #98and a lot of bug fixes 👍🏻
New maintenance version, with bug fixes:
This release adds a few new features:
run-finally
that runs shell commands every time after restic
copy
command
crond
scheduler1fa7d48 Add support for copy command (#73)
271c128 Change codecov uploader to use GitHub Action v2 (#79)
85fcc20 Optional: Allow disabling path in retention with 'false' (#67)
8773899 Scheduler refactoring (#76)
48c822c Support "run-finally" in backup-section & profile (#70)
ac13d06 Supporting config includes
(e.g. profiles.d
) (#65)
245a440 Systemd template (#75)
122620e add tests on crontab
0dad5a8 crontab RemoveJob returns error if the entry was not found
ff2fc1f upgrade dependencies
docker pull creativeprojects/resticprofile:0.16.0
Version 0.15 fixed some issues with escaping parameters to the restic command line. If you've used any of these characters in file or directory names in your configuration, please make sure your backup is still working as expected: space
, *
, ?
, \
, [
, '
, "
.
If for some reason the fix broke your configuration, there's a new flag legacy-arguments
that you can activate in the global
section to revert back to the broken implementation:
global:
legacy-arguments: true
.Hostname
in configuration template (#55).TmpDir
variable to configuration template (#62)~
(unixes only)abf0b00 Add support for prometheus export and push (#57) 37a69d7 Added "{{.TmpDir}}" to TemplateData (#62) 8218e70 Feature: Hide confidential values in output (#58) 0be5d5f Resolve glob expressions in backup sources (#63) 8cc2574 Shell escape (#60) 34f693c Update non-confidential values to support shell.Args (#68) 0841959 add Hostname pre-defined variable to template resolver (#55) f58116b add description field in profile section 0f9b21e build with go 1.17 16308e9 don't send status summary in dry-run 88052c6 show description in output of profiles command
docker pull creativeprojects/resticprofile:0.15.0
This release changes the way the restic binary is searched:
global
configuration can now contain the ~
character like ~restic/bin/restic
global
configuration and it cannot find the file, a warning will be displayed and resticprofile will keep trying to find a suitable binary4686dd2 use shell to resolve special paths with ~ 823304a warning when the restic-binary was not found
docker pull creativeprojects/resticprofile:0.14.1
jkellerer
for the PR331b710 Added resticprofile flags --no-lock & --lock-wait (#33) 7fc5b3a Summary from plain output when not run in terminal (#48) b7edeb5 Updated contrib script systemd/send-error.sh (#49) fa42cf2 add macOS arm64 target to install.sh script a87f76d add token as an environment variable
docker pull creativeprojects/resticprofile:latest
docker pull creativeprojects/resticprofile:0.14.0
This version fixes a defect where extended status wasn't returning the extended information on Windows.
cab8909 add Homebrew Tap (#45) 794f404 add github token in config 5e06dbd fix test too slow on build agent 2f79a46 fix windows bogus prefix (#47)
docker pull creativeprojects/resticprofile:latest
docker pull creativeprojects/resticprofile:0.13.2
Bug fix:
initialize
parameter was set and the repository already exists02e6414 Increase test coverage (#40) d64dc4f fix #41: a message was sent to stderr when parameter initialize=true and repo exists
docker pull creativeprojects/resticprofile:latest
docker pull creativeprojects/resticprofile:0.13.1
This version adds two new features:
no-error-on-warning
to consider a backup successful when restic produced a new snapshot but some files were missing (https://github.com/creativeprojects/resticprofile/discussions/38)RESTIC_STDERR
available to the targets run-after-fail
.8968e33 add RESTIC_STDERR env variable to run-after-fail 6b7dea4 quick implementation of ignore warning 833d24d quick mock to do some testing with a fake restic 3c54cc6 returns stderr output in the status file
docker pull creativeprojects/resticprofile:latest
docker pull creativeprojects/resticprofile:0.13.0
This release mainly brings 2 new features and a few enhancements:
--all
in status
, schedule
, unschedule
commandsextended-status
flag)237a87f Add backup statistics in status file (#36) 6622a39 Added fail env variable ERROR_COMMANDLINE (#32) 0887354 Added support for --all to status & (un)schedule (#31) 16e6c19 Enhanced "unschedule" to remove all possible jobs (#28) 47489a2 add profile name when running status --all 01ae05a fix an issue where status --all was stopping at the first profile with no schedule f50131b update goreleaser config to v0.154 c700d60 upgrade packages 4569f0d upgrade self-update library 7eb663d use go 1.16
docker pull creativeprojects/resticprofile:latest
docker pull creativeprojects/resticprofile:0.12.0