zfs: Setup marabethia and elendel to send snapshots to each other
Some checks failed
Cachix / build (lasting-integrity) (push) Waiting to run
Cachix / build (marabethia) (push) Waiting to run
Cachix / build (urithiru) (push) Waiting to run
Cachix / build (elendel) (push) Successful in 1m9s
Cachix / build (kholinar) (push) Has been cancelled

This commit is contained in:
Charlotte Van Petegem 2024-11-11 11:19:00 +01:00
parent 866cc28f30
commit bed293c5a9
No known key found for this signature in database
GPG key ID: 019E764B7184435A
4 changed files with 34 additions and 0 deletions

View file

@ -41,6 +41,14 @@
nix.enableDirenv = true; nix.enableDirenv = true;
zfs = { zfs = {
enable = true; enable = true;
backups = [
{
path = "zroot/safe/data";
remotePath = "zdata/recv/elendel/safe/data";
fast = true;
location = "marabethia.vanpetegem.me";
}
];
rootDataset = "zroot/local/root"; rootDataset = "zroot/local/root";
rootPool = "zroot"; rootPool = "zroot";
}; };

View file

@ -29,6 +29,32 @@
nix.enableDirenv = true; nix.enableDirenv = true;
zfs = { zfs = {
enable = true; enable = true;
backups = [
{
path = "zroot/safe/data";
remotePath = "zdata/recv/marabethia/safe/data";
fast = true;
location = "elendel.vanpetegem.me";
}
{
path = "zroot/safe/services/forgejo";
remotePath = "zdata/recv/marabethia/safe/services/forgejo";
fast = true;
location = "elendel.vanpetegem.me";
}
{
path = "zroot/safe/services/nextcloud";
remotePath = "zdata/recv/marabethia/safe/services/nextcloud";
fast = true;
location = "elendel.vanpetegem.me";
}
{
path = "zroot/safe/services/postgresql";
remotePath = "zdata/recv/marabethia/safe/services/postgresql";
fast = true;
location = "elendel.vanpetegem.me";
}
];
rootDataset = "zroot/local/root"; rootDataset = "zroot/local/root";
rootPool = "zroot"; rootPool = "zroot";
}; };

Binary file not shown.