digint / btrbk

Tool for creating snapshots and remote backups of btrfs subvolumes
https://digint.ch/btrbk/
GNU General Public License v3.0
1.6k stars 117 forks source link

btrfs-mail: iterate over the keys of $rsync_src instead of using $rsync_enable #531

Closed aleksejrs closed 1 year ago

aleksejrs commented 1 year ago

$rsync_enable can become huge and it is much easier to comment a block out instead, if the script iterates over the keys of $rsync_src in both cases. Note that $rsync_enable is also checked here.

digint commented 1 year ago

$rsync_enable can become huge

Why? a list of keys defined above?

I guess I don't understand exactly what you mean here.

aleksejrs commented 1 year ago

Am I correct that I need to put the keys into it manually? I have lots of keys to add.

digint commented 1 year ago

I have added an example on how to enable all defined rsync sources in db45f0b09c3cda49aca5b3cc6b1150bac3e87fad.

Closing issue, feel free to reopen if this does not help.