mirror of
https://github.com/nmasur/dotfiles
synced 2026-09-30 23:09:54 +00:00
restic: separate backup repository per host
This commit is contained in:
@@ -44,7 +44,8 @@ in
|
||||
|
||||
services.restic.backups = {
|
||||
default = {
|
||||
repository = "s3:${cfg.s3.endpoint}/${cfg.s3.bucket}/restic";
|
||||
repository = "s3:${cfg.s3.endpoint}/${cfg.s3.bucket}/restic/${config.networking.hostName}";
|
||||
initialize = true;
|
||||
paths = [ ];
|
||||
environmentFile = config.secrets.restic-s3-creds.dest;
|
||||
passwordFile = config.secrets.restic.dest;
|
||||
|
||||
Reference in New Issue
Block a user