Skip to content

Allow multiple borg repos per snapper config #6

@enzingerm

Description

@enzingerm

There are use-cases where one would want to backup the same snapper config to multiple borg repositories, possibly with different encryption/retention settings. This is not possible at the moment, as snapborg_backup=true is written to the snapper snapshot userdata as soon as it has been backed up and this is obviously too little information if we have multiple borg repos.

This could be solved in 3 ways:

  • Don't use snapper snapshot userdata at all and create a new database specific to snapborg where the mappings are stored.
  • Encode the backup information in the snapper userdata
  • Write the snapper snapshot ID in the borg backup metadata (name) and on each execution of snapborg run borg list beforehand to determine which snapshots have already been backed up

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions