orm, elucredassa: minor cleanup to backup prototype

This commit is contained in:
Katherina Walshe-Grey 2025-02-08 03:45:17 +00:00
parent 3ec0a2fcb9
commit 1bdb16c788
2 changed files with 4 additions and 10 deletions

View file

@ -25,11 +25,11 @@ in
# TODO: modularise this
randomcat.services.zfs.datasets = {
"rpool_elucredassa/backups" = {
"rpool_elucredassa/backup" = { mountpoint = "none"; };
"rpool_elucredassa/backup/orm" = {
mountpoint = "none";
zfsPermissions.users.syncoid = [ "mount" "create" "receive" "recordsize" ];
};
"rpool_elucredassa/backups/rpool_orm" = { mountpoint = "none"; };
};
services.syncoid = {
enable = true;
@ -38,10 +38,9 @@ in
commands = {
"testing1" = {
source = "backup@10.127.1.2:rpool_orm/state";
target = "rpool_elucredassa/backups/rpool_orm/state";
target = "rpool_elucredassa/backup/orm/state";
recursive = true;
recvOptions = "ux recordsize o compression=lz4";
extraArgs = [ "--debug" ];
};
};
};