Backup Redundancy

    Norg has the ability to back up to multiple repositories using both the BorgBackup or Restic backup utilities.
    To enable this, simply configure multiple different repositories in your configuration file and norg will take care of the rest.

    For example, the repositories section of your configuration file may look like this:

    ...
    [[repositories]]
    label = "MyFirstLocation"
    path = "/location1"
    
    [[repositories]]
    label = "MySecondLocation"
    path = "ssh://1234abcd@1234abcd.repo.borgbase.com/./repo"
    
    [[repositories]]
    label = "MyThirdLocationUsingRestic"
    path = "/location3"
    tool = "restic"
    
    [[repositories]]
    label = "MyFourthLocationUsingRestic"
    path = "rest:https://5678zyxw:9090abab@5678zyxw.repo.borgbase.com"
    tool = "restic"
    ...
    

    When running norg with this configuration, it invokes Borg or Restic once per repository in sequence (i.e. not at the same time) which means in each repository a new archive or snapshot is made containing all source directories.
    This provides redundancy across multiple backup repositories and across backup tools. You could even configure multiple storage providers to gain redundancy there as well.


    Help us improve this documentation.

    If you find an error, or think something could be explained better, raise an issue to send your feedback.