Borg: --stats output should include repo location

Created on 8 Nov 2020  路  7Comments  路  Source: borgbackup/borg

Have you checked borgbackup docs, FAQ, and open Github issues?

Y

Is this a BUG / ISSUE report or a QUESTION?

Feature request

System information. For client/server mode post info for both machines.

Your borg version (borg -V).

borg 1.1.14 (from apk community repos)

Operating system (distribution) and version.

alpine linux

Full borg commandline that lead to the problem (leave away excludes and passwords)

borg create --stats

Describe the problem you're observing.

I'd like --stats output also to include the repository location. This is to make it easier to discern different --stats outputs from a logfile. I have a script that's backing up in parallel to remote & local borg repos; It'd be nice for --stats output head to look like

------------------------------------------------------------------------------
Repository: [email protected]:/repo/path   # for remote repo
Repository: /path/to/local/repo                                # for local repo
Archive name: gitea-downtime-2020-11-08-054300
Archive fingerprint: 27992ecef61844cb5ee377d447f2984bd9fc4e62134dcf5d81706914fg97pqfe
Time (start): Sun, 2020-11-08 05:43:08
easy enhancement

All 7 comments

Would you like to make a PR for that against master branch?

Not familiar with the codebase. I'll try to get around to it, but no promises.

@laur89 If you have some difficulties, I can have a look at it and point you to the right places :)

@laur89 Any news, do you need some help?
If you prefer, I can develop it and explain to you how the whole thing works.

@Gu1nness local dev env setup turned out to be trickier than expected. Hoping to revisit coming weekend.

Ok nice, don't hesitate to ping me if necessary.

Okay @laur89 I'll patch it if you don't mind.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pierreozoux picture pierreozoux  路  4Comments

auanasgheps picture auanasgheps  路  5Comments

ypid picture ypid  路  6Comments

htho picture htho  路  5Comments

tconstans picture tconstans  路  5Comments