orm, elucredassa: prototype backups for actual
This commit is contained in:
parent
0c327b20ea
commit
3ec0a2fcb9
2 changed files with 41 additions and 0 deletions
|
@ -23,6 +23,29 @@ in
|
|||
console.keyMap = "uk";
|
||||
services.xserver.xkb.layout = "gb";
|
||||
|
||||
# TODO: modularise this
|
||||
randomcat.services.zfs.datasets = {
|
||||
"rpool_elucredassa/backups" = {
|
||||
mountpoint = "none";
|
||||
zfsPermissions.users.syncoid = [ "mount" "create" "receive" "recordsize" ];
|
||||
};
|
||||
"rpool_elucredassa/backups/rpool_orm" = { mountpoint = "none"; };
|
||||
};
|
||||
services.syncoid = {
|
||||
enable = true;
|
||||
interval = "*-*-* *:15:00";
|
||||
commonArgs = [ "--no-sync-snap" ];
|
||||
commands = {
|
||||
"testing1" = {
|
||||
source = "backup@10.127.1.2:rpool_orm/state";
|
||||
target = "rpool_elucredassa/backups/rpool_orm/state";
|
||||
recursive = true;
|
||||
recvOptions = "ux recordsize o compression=lz4";
|
||||
extraArgs = [ "--debug" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
qenya.services.distributed-builds = {
|
||||
enable = true;
|
||||
keyFile = "/etc/ssh/ssh_host_ed25519_key";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue