Borgmatic allows for several named backup configurations, each with its own source directories and repositories.
Declarations
Type
attribute set of (submodule)
Example
{
personal = {
location = {
sourceDirectories = [ "/home/me/personal" ];
repositories = [ "ssh://[email protected]/./personal-repo" ];
};
};
work = {
location = {
sourceDirectories = [ "/home/me/work" ];
repositories = [ "ssh://[email protected]/./work-repo" ];
};
};
};