add helsinki-box as borg target
This commit is contained in:
parent
541106db2c
commit
da0a52a018
4 changed files with 10 additions and 16 deletions
|
|
@ -150,7 +150,7 @@
|
||||||
# Borg backup configuration
|
# Borg backup configuration
|
||||||
services.borg-client-custom = {
|
services.borg-client-custom = {
|
||||||
enable = false;
|
enable = false;
|
||||||
repositoryUrl = "ssh://nfss@thinkpad/./";
|
repositoryUrl = "ssh://helsinki-box/./nfss";
|
||||||
backupPaths = [
|
backupPaths = [
|
||||||
];
|
];
|
||||||
backupFrequency = "*-*-* 01:00:00";
|
backupFrequency = "*-*-* 01:00:00";
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
../../../modules/podman.nix
|
../../../modules/podman.nix
|
||||||
../../../modules/vpn/tailscale.nix
|
../../../modules/vpn/tailscale.nix
|
||||||
../../../modules/borg/client.nix
|
../../../modules/borg/client.nix
|
||||||
../../../modules/borg/server.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader - standard UEFI setup
|
# Bootloader - standard UEFI setup
|
||||||
|
|
@ -191,21 +190,9 @@
|
||||||
|
|
||||||
services.tailscale-custom.exitNode = true;
|
services.tailscale-custom.exitNode = true;
|
||||||
|
|
||||||
services.borg-server-custom = {
|
|
||||||
enable = true;
|
|
||||||
users = {
|
|
||||||
nfss.publicKeys = [
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICp2goZiuSfwMA02GsHhYzUZHrQPPBgP5sWSNP9kQR3e yanlin@imac"
|
|
||||||
];
|
|
||||||
vps.publicKeys = [
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICp2goZiuSfwMA02GsHhYzUZHrQPPBgP5sWSNP9kQR3e yanlin@imac"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.borg-client-custom = {
|
services.borg-client-custom = {
|
||||||
enable = true;
|
enable = true;
|
||||||
repositoryUrl = "ssh://borg-box/./thinkpad";
|
repositoryUrl = "ssh://helsinki-box/./thinkpad";
|
||||||
backupPaths = [
|
backupPaths = [
|
||||||
"/home/yanlin/Archive"
|
"/home/yanlin/Archive"
|
||||||
"/home/yanlin/Credentials"
|
"/home/yanlin/Credentials"
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@
|
||||||
# Borg backup configuration
|
# Borg backup configuration
|
||||||
services.borg-client-custom = {
|
services.borg-client-custom = {
|
||||||
enable = true;
|
enable = true;
|
||||||
repositoryUrl = "ssh://vps@thinkpad/./";
|
repositoryUrl = "ssh://helsinki-box/./vps";
|
||||||
backupPaths = [
|
backupPaths = [
|
||||||
"/var/lib/mongodb"
|
"/var/lib/mongodb"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,13 @@ in
|
||||||
identityFile = "${keyDir}/hetzner";
|
identityFile = "${keyDir}/hetzner";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"helsinki-box" = {
|
||||||
|
hostname = "u546684.your-storagebox.de";
|
||||||
|
user = "u546684";
|
||||||
|
port = 23;
|
||||||
|
identityFile = "${keyDir}/hetzner";
|
||||||
|
};
|
||||||
|
|
||||||
"rpi" = {
|
"rpi" = {
|
||||||
hostname = "100.117.162.102";
|
hostname = "100.117.162.102";
|
||||||
user = "yanlin";
|
user = "yanlin";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue