Browse Source

Update 'Readme.md'

master
lasimik 4 months ago
parent
commit
925cb14b0e
  1. 2
      Readme.md

2
Readme.md

@ -68,7 +68,7 @@ sudo -u NAME DISPLAY=:0 \
---
### Example for Overdue Backups Alerts
#### In borgmatic config
#### borgmatic config
To know when the last complete backup was made, even if there is no connection to the repository, the date and time needs to be stored locally (here in a `last-successful-backup` file), after every successful backup (hook `after_backup:`).
This example uses date and time of the last *complete* backup. Borgmatic does not supply this in a placeholder, so it is identified with `borgmatic list --successful --last 1`, returning only date and time (`--format {time}`) and without control characters (`--no-color `), then the header line is skipped (`sed -n 2p`), and the timezone (that the borgmatic return lacks) is appended (`date +'%:z'`).

Loading…
Cancel
Save