nixos-config/nixos/machines/chungus/rbackup.nix

50 lines
1.3 KiB
Nix
Raw Normal View History

{ config, ... }:
{
sops.secrets.rsync_private_key = { };
rbackup.plans = {
nextcloud = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/var/lib/nextcloud/";
2023-07-08 03:15:18 +02:00
dst = "/mirror/nextcloud";
};
taskwarrior = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
2023-06-01 08:21:55 +02:00
src = "root@robi:/var/lib/taskserver/";
2023-07-08 03:15:18 +02:00
dst = "/mirror/taskwarrior";
};
gitea = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/var/lib/gitea/";
2023-07-08 03:15:18 +02:00
dst = "/mirror/gitea";
};
bitwarden = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@robi:/var/lib/bitwarden_rs/";
2023-07-08 03:15:18 +02:00
dst = "/mirror/bitwarden_rs";
};
2024-04-04 22:24:48 +02:00
matrix-terranix = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@orbi:/var/lib/nixos-containers/matrix-terranix";
dst = "/mirror/matrix-terranix";
};
2023-11-18 12:49:47 +01:00
2024-04-07 10:19:27 +02:00
radarr = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@orbi:/media/arr/radarr";
dst = "/media/arr/radarr";
delete = false;
};
sonarr = {
sshKeyPath = config.sops.secrets.rsync_private_key.path;
src = "root@orbi:/media/arr/sonarr";
dst = "/media/arr/sonarr";
delete = false;
};
2023-11-18 12:49:47 +01:00
};
}