vno3-nk: backing up /data/vno3-shared
This commit is contained in:
parent
3a65f88d9e
commit
24370c6c05
@ -16,6 +16,7 @@ in
|
|||||||
motiejus-server-passwd-hash.file = ../../secrets/motiejus_server_passwd_hash.age;
|
motiejus-server-passwd-hash.file = ../../secrets/motiejus_server_passwd_hash.age;
|
||||||
root-server-passwd-hash.file = ../../secrets/root_server_passwd_hash.age;
|
root-server-passwd-hash.file = ../../secrets/root_server_passwd_hash.age;
|
||||||
sasl-passwd.file = ../../secrets/postfix_sasl_passwd.age;
|
sasl-passwd.file = ../../secrets/postfix_sasl_passwd.age;
|
||||||
|
borgbackup-password.file = ../../secrets/fwminex/borgbackup-password.age;
|
||||||
ssh8022-server = {
|
ssh8022-server = {
|
||||||
file = ../../secrets/ssh8022.age;
|
file = ../../secrets/ssh8022.age;
|
||||||
owner = "spiped";
|
owner = "spiped";
|
||||||
@ -117,52 +118,30 @@ in
|
|||||||
verboseLogs = false;
|
verboseLogs = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
#btrfsborg = {
|
btrfsborg = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# passwordPath = config.age.secrets.borgbackup-password.path;
|
passwordPath = config.age.secrets.borgbackup-password.path;
|
||||||
# sshKeyPath = "/etc/ssh/ssh_host_ed25519_key";
|
sshKeyPath = "/etc/ssh/ssh_host_ed25519_key";
|
||||||
# dirs =
|
dirs =
|
||||||
# builtins.concatMap
|
builtins.concatMap
|
||||||
# (
|
(
|
||||||
# host:
|
host:
|
||||||
# let
|
let
|
||||||
# prefix = "${host}:${config.networking.hostName}.${config.networking.domain}";
|
prefix = "${host}:${config.networking.hostName}.${config.networking.domain}";
|
||||||
# in
|
in
|
||||||
# [
|
[
|
||||||
# {
|
{
|
||||||
# subvolume = "/var/lib";
|
subvolume = "/data";
|
||||||
# repo = "${prefix}-var_lib";
|
repo = "${prefix}-data";
|
||||||
# paths = [
|
paths = [ "vno3-shared" ];
|
||||||
# "hass"
|
backup_at = "*-*-* 01:00:01 UTC";
|
||||||
# "gitea"
|
}
|
||||||
# "caddy"
|
]
|
||||||
# "grafana"
|
)
|
||||||
# "headscale"
|
[
|
||||||
# "bitwarden_rs"
|
"zh2769@zh2769.rsync.net"
|
||||||
# "matrix-synapse"
|
];
|
||||||
# "private/soju"
|
};
|
||||||
|
|
||||||
# # https://immich.app/docs/administration/backup-and-restore/
|
|
||||||
# "immich/library"
|
|
||||||
# "immich/upload"
|
|
||||||
# "immich/profile"
|
|
||||||
# "postgresql"
|
|
||||||
# ];
|
|
||||||
# patterns = [ "- gitea/data/repo-archive/" ];
|
|
||||||
# backup_at = "*-*-* 01:00:01 UTC";
|
|
||||||
# }
|
|
||||||
# {
|
|
||||||
# subvolume = "/home";
|
|
||||||
# repo = "${prefix}-home-motiejus-annex2";
|
|
||||||
# paths = [ "motiejus/annex2" ];
|
|
||||||
# backup_at = "*-*-* 02:30:01 UTC";
|
|
||||||
# }
|
|
||||||
# ]
|
|
||||||
# )
|
|
||||||
# [
|
|
||||||
# "zh2769@zh2769.rsync.net"
|
|
||||||
# ];
|
|
||||||
#};
|
|
||||||
|
|
||||||
btrfssnapshot = {
|
btrfssnapshot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -230,6 +209,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
hostId = "ab4af0bb";
|
||||||
hostName = "vno3-nk";
|
hostName = "vno3-nk";
|
||||||
domain = "servers.jakst";
|
domain = "servers.jakst";
|
||||||
firewall = {
|
firewall = {
|
||||||
|
Loading…
Reference in New Issue
Block a user