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, ... }:
|
{ config, factsGenerator, ... }:
|
||||||
|
let
|
||||||
|
tld = config.clan.static-hosts.topLevelDomain;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
clanCore.facts.services.rbackup = factsGenerator.ssh { name = "rbackup"; };
|
clanCore.facts.services.rbackup = factsGenerator.ssh { name = "rbackup"; };
|
||||||
|
|
||||||
|
@ -6,28 +9,28 @@
|
||||||
rbackup.plans = {
|
rbackup.plans = {
|
||||||
git = {
|
git = {
|
||||||
sshKeyPath = config.clanCore.facts.services.rbackup.secret."ssh.rbackup.id_ed25519".path;
|
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";
|
dst = "/mirror/git";
|
||||||
};
|
};
|
||||||
taskwarrior = {
|
taskwarrior = {
|
||||||
sshKeyPath = config.clanCore.facts.services.rbackup.secret."ssh.rbackup.id_ed25519".path;
|
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";
|
dst = "/mirror/taskwarrior";
|
||||||
};
|
};
|
||||||
vaultwarden = {
|
vaultwarden = {
|
||||||
sshKeyPath = config.clanCore.facts.services.rbackup.secret."ssh.rbackup.id_ed25519".path;
|
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";
|
dst = "/mirror/vaultwarden";
|
||||||
};
|
};
|
||||||
radarr = {
|
radarr = {
|
||||||
sshKeyPath = config.clanCore.facts.services.rbackup.secret."ssh.rbackup.id_ed25519".path;
|
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";
|
dst = "/media/arr/radarr";
|
||||||
delete = false;
|
delete = false;
|
||||||
};
|
};
|
||||||
sonarr = {
|
sonarr = {
|
||||||
sshKeyPath = config.clanCore.facts.services.rbackup.secret."ssh.rbackup.id_ed25519".path;
|
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";
|
dst = "/media/arr/sonarr";
|
||||||
delete = false;
|
delete = false;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue