digint / digint/btrbk

Optional Backup Summary to the log

Open
#562 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
2.1k
Forks
139
PR merge metrics
No merged PRs in 30d

Description

Hi, please provide an option to add the useful Backup Summary also to the logs.

The btrbk client prints the summary like this:
```
--------------------------------------------------------------------------------
Backup Summary (btrbk command line client, version 0.33.0-dev)

Date: Thu Sep 28 07:35:16 2023
Config: /etc/btrbk/btrbk.conf
Filter: all

Legend:
=== up-to-date subvolume (source snapshot)
+++ created subvolume (source snapshot)
--- deleted subvolume
*** received subvolume (non-incremental)
>>> received subvolume (incremental)
--------------------------------------------------------------------------------
/mnt/btrfs-top-lvl/volumes/root
+++ /mnt/btrfs-top-lvl/snapshots/root/root.20230928T073516+0200
>>> /mnt/local/data/snapshots/root/root.20230928T073516+0200
>>> /mnt/usb/mobile/snapshots/desktop_one/root/root.20230928T073516+0200

/mnt/btrfs-top-lvl/volumes/home
+++ /mnt/btrfs-top-lvl/snapshots/home/home.20230928T073516+0200
>>> /mnt/local/data/snapshots/home/home.20230928T073516+0200
>>> /mnt/usb/mobile/snapshots/desktop_one/home/home.20230928T073516+0200
...
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.