Compare commits

...

2 Commits

Author SHA1 Message Date
97b9060344 make: add targets to help view log status 2021-10-18 15:13:10 -04:00
16fe205715 backup: remove pathnames from progress output
It clutters up the output and isn't super useful
2021-10-18 15:03:32 -04:00
2 changed files with 10 additions and 1 deletions

View File

@ -40,6 +40,16 @@ rebase:
git rebase master
systemctl daemon-reload
# Show status of most recent backup run
.PHONY: status
status:
systemctl status --full --lines 999999 --no-pager --all borg-backup || true
# Watch live log output
.PHONY: tail
tail:
journalctl --all --follow --lines 200 --unit borg-backup
.PHONY: clean
clean:
rm -f README.html

View File

@ -348,7 +348,6 @@ def main(argv: typing.List[str]):
size('orig', 'original_size') +
size('comp', 'compressed_size') +
size('dedup', 'deduplicated_size') +
f" path={data['path']}" +
"\n").encode()
else:
continue