digint / btrbk

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

Feature Request: Named targets #357

Open ceremcem opened 3 years ago

ceremcem commented 3 years ago

Extending https://github.com/digint/btrbk/issues/356, targets should have an option to have an alias. This will bring the ability to:

  1. Disable all targets temporarily,
  2. Enable some of the targets (present/reachable)
  3. Enable all of the targets

So we could keep only one configuration file for multiple backup disks/locations and override options to skip some of them due to the temporary time constraints or target presence.

digint commented 3 years ago

you can specify group for this in btrbk.conf, see: https://github.com/digint/btrbk/blob/master/doc/btrbk.conf.5.asciidoc#grouping-options

also look at the noauto option, this way you can trigger section on-demand (e.g. btrbk run mygroup)