2023-05-02 21:02:16 +02:00
|
|
|
{ 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";
|
2023-05-02 21:02:16 +02:00
|
|
|
};
|
|
|
|
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";
|
2023-05-02 21:02:16 +02:00
|
|
|
};
|
|
|
|
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";
|
2023-05-02 21:02:16 +02:00
|
|
|
};
|
|
|
|
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";
|
2023-05-02 21:02:16 +02:00
|
|
|
};
|
2023-11-18 12:49:47 +01:00
|
|
|
#torrent = {
|
|
|
|
# sshKeyPath = config.sops.secrets.rsync_private_key.path;
|
|
|
|
# src = "root@robi:/media/torrent/downloads/";
|
|
|
|
# dst = "/media/torrent";
|
|
|
|
# startAt = "00/5:00"; # every 5 hours
|
|
|
|
#};
|
|
|
|
|
|
|
|
radarr = {
|
|
|
|
sshKeyPath = config.sops.secrets.rsync_private_key.path;
|
|
|
|
src = "root@robi:/media/arr/radarr";
|
|
|
|
dst = "/media/arr/radarr";
|
|
|
|
delete = false;
|
|
|
|
};
|
|
|
|
sonarr = {
|
2023-05-03 16:09:27 +02:00
|
|
|
sshKeyPath = config.sops.secrets.rsync_private_key.path;
|
2023-11-18 12:49:47 +01:00
|
|
|
src = "root@robi:/media/arr/sonarr";
|
|
|
|
dst = "/media/arr/sonarr";
|
|
|
|
delete = false;
|
2023-05-02 21:02:16 +02:00
|
|
|
};
|
2023-11-18 12:49:47 +01:00
|
|
|
|
|
|
|
|
2023-05-02 21:02:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
}
|