zfs: Setup marabethia and elendel to send snapshots to each other
Some checks failed
Some checks failed
This commit is contained in:
parent
866cc28f30
commit
bed293c5a9
4 changed files with 34 additions and 0 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
|
@ -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.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue