Complete rewrite of resticprofile in go:
- I tried python and I wasn't particularly impressed
- I tried go and I loved it (also that's what all the cool kids do nowadays)
The default configuration profiles.conf
is still expected to be in TOML format. But now, resticprofile also supports YAML and JSON file format. Simply feed a .toml
, .json
or a .yaml
file to select the desired format.
The configuration file from the previous versions remains unchanged. There are two additions to it:
priority
flags: acts likenice
on unixes and now available on all platformslock
flag to avoid running two profiles at the same time (this is a local lock)