]> Git — Sourcephile - sourcephile-nix.git/blob - servers/losurdo/production/syncoid.nix
sanoid: comment usage
[sourcephile-nix.git] / servers / losurdo / production / syncoid.nix
1 { pkgs, lib, config, ... }:
2 {
3 services.syncoid = {
4 enable = true;
5 interval = "*-*-* *:15:00";
6 sshKey = "/root/.ssh/id_ed25519";
7 commonArgs = [ "--no-sync-snap" ];
8 commands = {
9 "losurdo_nvme/home/julm/work" = {
10 sendOptions = "raw";
11 target = "root@mermet.sourcephile.fr:rpool/backup/losurdo/home/julm/work";
12 };
13 "root@mermet.sourcephile.fr:rpool/var/mail" = {
14 sendOptions = "raw";
15 target = "losurdo_nvme/backup/mermet/var/mail";
16 };
17 "root@mermet.sourcephile.fr:rpool/var/www" = {
18 sendOptions = "raw";
19 target = "losurdo_nvme/backup/mermet/var/www";
20 };
21 "root@mermet.sourcephile.fr:rpool/var/git" = {
22 sendOptions = "raw";
23 target = "losurdo_nvme/backup/mermet/var/git";
24 };
25 "root@mermet.sourcephile.fr:rpool/var/redis" = {
26 sendOptions = "raw";
27 target = "losurdo_nvme/backup/mermet/var/redis";
28 };
29 "root@mermet.sourcephile.fr:rpool/home/julm/mail" = {
30 sendOptions = "raw";
31 target = "losurdo_nvme/backup/mermet/home/julm/mail";
32 };
33 };
34 };
35 }