Releases: creativeprojects/resticprofile
v0.9.2
A few minor features and bug fixes:
- add version command
- add force-inactive-lock flag in profiles
Changelog
ca6ff07 Add "option" in example configurations in README and azure.conf fixes #13
06f98e9 Add version command
f3aa7b9 add tests on set and get PID from lock file
cd10c9d remove openbsd from goreleaser library github.com/shirou/gopsutil cannot be compiled for openbsd
8c07f35 squash merge of branch pid: should fix #14
618be92 use go 1.15 for ci builds
94f0ef1 write down child PIDs in lock file
v0.9.1
Two new features in this release:
- add a few environment variables when running scripts (
run-before
,run-after
,run-after-fail
) - add a status file generated after running a profile (to send to some monitoring software)
Changelog
58ecde0 Merge branch run-after-fail
05afb52 merge from branch status-file
v0.9.0
A few new big features in this release:
- add
--dry-run
flag - redirect console to a file with
--log
(for running in the background) - generate random keys with
generate-random
command - schedule/unschedule profiles automatically with command
schedule
/unschedule
(alsostatus
to check a scheduled task)
Changelog
c0c067e add SUDO_USER to systemd environment
67e24a4 add dry-run flag
b31c4cf add file logger
ef87550 add journalctl to status output
ba9d132 add schedule documentation to README
db4fd20 add schedule parameter in config
05d0308 add windows task scheduler
2a03874 create plist file for darwin
b1c12ab create system job on darwin
c73ccb3 full implementation of systemd user unit
fce69a1 generate random keys
5ddecf0 generate schedule for darwin
4647e6e implement schedule-log
631038d move logger into external package
43e7f81 only ask for the user password once
af04717 redirect terminal when elevated mode
b049747 send message from elevated process to parent process via some simple http calls
106ea1b send terminal output remotely
fbac6f4 sudo trick in the example configuration
0465a19 system daemon with launchd
8538fce systemd user/system
v0.8.3
v0.8.2
This is a bug fixing release:
- in the configuration file, some strings containing a comma were split into an array of strings. This is now fixed.
Changelog
7a7836f add table of contents
0bf1400 build 0.8.2
1ecc090 document new features in README
e2f1d8e remove armv7 packages from goreleaser
3183207 remove default decode hooks (which can do funny things with tags)
v0.8.1
This is mostly a bug fixing release:
- allow for spaces in directories and files (these were ignored before and were messing up the command line)
- add a
show
command to see the profile details (mostly for debugging really) - add a
--format
flag to specify the type of configuration file format (if you want to use a different extension)
Changelog
d2ebc7b add --format flag to specify the config format
85a5d59 add command 'show' to display profile properties
b3349bc add show command to help
3ac1afa allow spaces in directories and files
52c74cd change expected structure in unit tests
1006fcf display correct XDG directories in error message
98706fb update dependencies
v0.8.0
This version is introducing a few new features:
- experimental support for HCL configuration files
- a configuration file with no extension is searched using all supported file extensions:
-c profiles
would either load profiles.conf, profiles.yaml, profiles.toml, profiles.json or profiles.hcl - a new global parameter to check available memory before starting a profile (default is 100MB)
Changelog
d74a5d6 Initial support for HCL configuration file
1e645e2 Refactoring y/n question
4aa7bcb add OS & ARCH to panic data
5e417b3 add missing build info to docker image
254377b add note with self-updating on linux/arm
b1a7674 add safeguard to prevent running restic when memory is running low: "min-memory" in "global"
e10a2ab add section on where to locate configuration file
8c548bf bump version
742f6dd example of configuration in HCL
69a4385 refactor configuration as a dependency as opposed to a global
8efe9c4 search for configuration file without an extension resticprofile will load the first file with a valid extension (conf, yaml, toml, json, hcl)
428fdb8 update xdg paths in documentation
v0.7.1
This a maintenance release:
- add a new parameter
run-after-fail
which is running the shell commands after any kind of failure (during other commands or during restic execution) - a minor breaking change if you use the repository auto-initialization, it will now run after the
run-before
scripts. It makes more sense this way (in case you mount your backup disks inrun-before
for example)
Changelog
2321bf9 add raspberry pi to supported platforms
1efeb81 add run-after-fail parameter to run shell commands after a restic command failed. the auto initialization of a repository now happens after the "run-before" scripts (in version 0.7.0 it was happening before)
80ddc06 detect panic and display a nice message asking the user to post details on github
9ca91d0 fix self-update not working on windows
d32c172 run self-update command with no configuration file
v0.7.0
This is a maintenance release:
- fixing a defect when starting a backup with no command definition for backup
- adding two new options to run scripts before and after a profile (not just backup like before)
- implementation of a new module to create systemd units. More to come on future releases
Changelog
a8ff142 Bump up version
b499f76 Fix update confirmation message
d71f45f Refactoring resticprofile commands
ab527c0 add goreleaser target to build for raspberry pi
744ac5b initial support for systemd
88cb74f run shell commands before and after a profile. In previous versions, you could only run commands before and after a backup
c4c8d9a stop creating empty configuration file at XDG config location