rbackup works fine now
This commit is contained in:
parent
d1557048e6
commit
85ebb90997
1 changed files with 8 additions and 5 deletions
|
@ -1,4 +1,7 @@
|
|||
{ config, factsGenerator, ... }:
|
||||
let
|
||||
tld = config.clan.static-hosts.topLevelDomain;
|
||||
in
|
||||
{
|
||||
clanCore.facts.services.rbackup = factsGenerator.ssh { name = "rbackup"; };
|
||||
|
||||
|
@ -6,28 +9,28 @@
|
|||
rbackup.plans = {
|
||||
git = {
|
||||
sshKeyPath = config.clanCore.facts.services.rbackup.secret."ssh.rbackup.id_ed25519".path;
|
||||
src = "root@orbi:/var/lib/forgejo/";
|
||||
src = "root@orbi.${tld}:/var/lib/forgejo/";
|
||||
dst = "/mirror/git";
|
||||
};
|
||||
taskwarrior = {
|
||||
sshKeyPath = config.clanCore.facts.services.rbackup.secret."ssh.rbackup.id_ed25519".path;
|
||||
src = "root@orbi:/var/lib/taskserver/";
|
||||
src = "root@orbi.${tld}:/var/lib/taskserver/";
|
||||
dst = "/mirror/taskwarrior";
|
||||
};
|
||||
vaultwarden = {
|
||||
sshKeyPath = config.clanCore.facts.services.rbackup.secret."ssh.rbackup.id_ed25519".path;
|
||||
src = "root@orbi:/var/lib/bitwarden_rs/";
|
||||
src = "root@orbi.${tld}:/var/lib/bitwarden_rs/";
|
||||
dst = "/mirror/vaultwarden";
|
||||
};
|
||||
radarr = {
|
||||
sshKeyPath = config.clanCore.facts.services.rbackup.secret."ssh.rbackup.id_ed25519".path;
|
||||
src = "root@orbi:/media/arr/radarr";
|
||||
src = "root@orbi.${tld}:/media/arr/radarr";
|
||||
dst = "/media/arr/radarr";
|
||||
delete = false;
|
||||
};
|
||||
sonarr = {
|
||||
sshKeyPath = config.clanCore.facts.services.rbackup.secret."ssh.rbackup.id_ed25519".path;
|
||||
src = "root@orbi:/media/arr/sonarr";
|
||||
src = "root@orbi.${tld}:/media/arr/sonarr";
|
||||
dst = "/media/arr/sonarr";
|
||||
delete = false;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue