* refactor: Change INSTALL_PREFIX placeholder notation to templating notation
The former shell notation `$INSTALL_PREFIX` could result confusing. As
this is a placeholder that's replaced in the `make`, we switch it to a
template notation `{{ INSTALL_PREFIX }}`.
* docs: Small fix on README/manual setup
* docs(email-notif): Document the `{{ INSTALL_PREFIX }}` placeholder
co-authored-by: giuaig <13609224+giuaig@users.noreply.github.com>
* Update README.md
Co-authored-by: Gerard Bosch <30733556+gerardbosch@users.noreply.github.com>
---------
Co-authored-by: giuaig <13609224+giuaig@users.noreply.github.com>
Co-authored-by: Erik Westrup <erik.westrup@icloud.com>
There's no obvious way to simply run a restic diff for the latest
snapshot against the previous one.
This simplifies the task to inspect the last snapshot changes. The user
only needs to run `sudo resticw --diff-latest` (optionally specifying a
profile).
* docs: Fix typos and minor improvements
* feat: Log the backup stats summary to a CSV file
The log records the added, removed and snapshot size after each backup.
* feat: Add the snapshot ID to the stats log
* docs: Update README with the stats log info
* fix: Linter 1: Quote var
* fix: Linter 2: Shellcheck declare and assign separately
* feat: Turn the stats log into an opt-in
* Allow extra args for non-backup commands
* Add example in doc
* Include global args in backup command
* Fix indent
* Restore set
* Modified: CHANGELOG.md
---------
Co-authored-by: Erik Westrup <erik.westrup@gmail.com>
* pre_backup list
* add $INSTALL_PREFIX
* make it executable
* remove pre_backup.txt
* fix quotes
Co-authored-by: Erik Westrup <erik.westrup@gmail.com>
---------
Co-authored-by: Erik Westrup <erik.westrup@gmail.com>
This will allow to use `resticw` as a true wrapper, enabling to pass
restic options through it, for example:
```
resticw --profile profileX snapshots --compact
```
will now be suported by the wraper :)
When backing up a desktop system it is handy to have regular and
immediate feedback about backups. This features a notification of backup
stats summary, including the added size to the repository, so you can
have a quick follow-up about what are you uploading to the repository.
This may be very useful if you upload by accident a big file or directory
which should be in your exclusions, so it warns you and gives the chance
to fix the exclusions and remove the undesired snapshot later.