From ae25e2e74d23c55b044561ad1d2abdb097ff08ac Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Wed, 12 Mar 2025 10:38:53 +0000 Subject: [PATCH] Fix c1 syncthing ID. --- common/syncthing-data.nix | 2 +- stateful-commands.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/common/syncthing-data.nix b/common/syncthing-data.nix index 5cff3ea..fb29a3b 100644 --- a/common/syncthing-data.nix +++ b/common/syncthing-data.nix @@ -17,7 +17,7 @@ settings = { devices = { "c1" = { - id = "53JGRHQ-VGBYIGH-7IT6Z5S-3IMRY2I-LJZAE3B-QUDH3QF-4F4QKVC-VBWPJQ4"; + id = "XJECP3R-AZHCAYX-UIQKHIT-AHBK5UM-KM7T4OV-B7SEUCW-ZE2UFPG-7BNAIQZ"; }; "c2" = { id = "Z3D476N-PUV6WAD-DSJWVBO-TWEOD4I-KDDMNRB-QEBOP6T-BYPGYTX-RAAYGAW"; diff --git a/stateful-commands.txt b/stateful-commands.txt index 9089621..25f6a51 100644 --- a/stateful-commands.txt +++ b/stateful-commands.txt @@ -28,6 +28,9 @@ replacing failed / reinstalled gluster volume (c1 in this case). all commands on * gluster peer probe 192.168.1.71 (not c1 because switching to IPs to avoid DNS/tailscale issues) * gluster volume add-brick compute replica 3 192.168.1.71:/persist/glusterfs/compute/brick1 +replacing failed / reinstalled host - other things: + * syncthing ID needs updating in common/syncthing-data.nix + kopia repository server setup (on a non-NixOS host at the time): * kopia repository create filesystem --path /backup/persist * kopia repository connect filesystem --path=/backup/persist