diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2024-06-10 13:13:11 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2024-06-11 00:18:33 +0200 |
commit | 1c90c0dd73b5b74612be736ac8deeaa4547e2c26 (patch) | |
tree | 80a7bfcecd7478fb42c57616f706c90441475b88 /systems/backup-2 | |
parent | e8d50f14185867d490f002aa5c408343ea5ea062 (diff) | |
download | Nix-1c90c0dd73b5b74612be736ac8deeaa4547e2c26.tar.gz Nix-1c90c0dd73b5b74612be736ac8deeaa4547e2c26.tar.zst Nix-1c90c0dd73b5b74612be736ac8deeaa4547e2c26.zip |
Migrate to borg backup
Diffstat (limited to 'systems/backup-2')
-rw-r--r-- | systems/backup-2/databases/mariadb_replication.nix | 1 | ||||
-rw-r--r-- | systems/backup-2/flake.lock | 26 |
2 files changed, 13 insertions, 14 deletions
diff --git a/systems/backup-2/databases/mariadb_replication.nix b/systems/backup-2/databases/mariadb_replication.nix index 6616de0..f113219 100644 --- a/systems/backup-2/databases/mariadb_replication.nix +++ b/systems/backup-2/databases/mariadb_replication.nix | |||
@@ -161,7 +161,6 @@ in | |||
161 | --gtid \ | 161 | --gtid \ |
162 | --master-data \ | 162 | --master-data \ |
163 | --flush-privileges \ | 163 | --flush-privileges \ |
164 | --ignore-database=netdata \ | ||
165 | --all-databases > $filename | 164 | --all-databases > $filename |
166 | ${pkgs.gzip}/bin/gzip $filename | 165 | ${pkgs.gzip}/bin/gzip $filename |
167 | ''; | 166 | ''; |
diff --git a/systems/backup-2/flake.lock b/systems/backup-2/flake.lock index 7d5992e..645214d 100644 --- a/systems/backup-2/flake.lock +++ b/systems/backup-2/flake.lock | |||
@@ -22,7 +22,7 @@ | |||
22 | }, | 22 | }, |
23 | "locked": { | 23 | "locked": { |
24 | "lastModified": 1, | 24 | "lastModified": 1, |
25 | "narHash": "sha256-ptLDqa3BTCX2orio9YgGsOwYa5bsz2DWn6TrtR2B45w=", | 25 | "narHash": "sha256-Deh1qsi1UFskPSAwq2sUGyPeh7hVVHct8hhy4o6fEzE=", |
26 | "path": "../../flakes/private/chatons", | 26 | "path": "../../flakes/private/chatons", |
27 | "type": "path" | 27 | "type": "path" |
28 | }, | 28 | }, |
@@ -74,7 +74,7 @@ | |||
74 | "environment": { | 74 | "environment": { |
75 | "locked": { | 75 | "locked": { |
76 | "lastModified": 1, | 76 | "lastModified": 1, |
77 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", | 77 | "narHash": "sha256-Kj3j/3B8V8IHbeSZ3ho33C7ktOcTle2h6dKEWWfVuvU=", |
78 | "path": "../environment", | 78 | "path": "../environment", |
79 | "type": "path" | 79 | "type": "path" |
80 | }, | 80 | }, |
@@ -86,7 +86,7 @@ | |||
86 | "environment_2": { | 86 | "environment_2": { |
87 | "locked": { | 87 | "locked": { |
88 | "lastModified": 1, | 88 | "lastModified": 1, |
89 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", | 89 | "narHash": "sha256-Kj3j/3B8V8IHbeSZ3ho33C7ktOcTle2h6dKEWWfVuvU=", |
90 | "path": "../../flakes/private/environment", | 90 | "path": "../../flakes/private/environment", |
91 | "type": "path" | 91 | "type": "path" |
92 | }, | 92 | }, |
@@ -98,7 +98,7 @@ | |||
98 | "environment_3": { | 98 | "environment_3": { |
99 | "locked": { | 99 | "locked": { |
100 | "lastModified": 1, | 100 | "lastModified": 1, |
101 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", | 101 | "narHash": "sha256-Kj3j/3B8V8IHbeSZ3ho33C7ktOcTle2h6dKEWWfVuvU=", |
102 | "path": "../environment", | 102 | "path": "../environment", |
103 | "type": "path" | 103 | "type": "path" |
104 | }, | 104 | }, |
@@ -110,7 +110,7 @@ | |||
110 | "environment_4": { | 110 | "environment_4": { |
111 | "locked": { | 111 | "locked": { |
112 | "lastModified": 1, | 112 | "lastModified": 1, |
113 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", | 113 | "narHash": "sha256-Kj3j/3B8V8IHbeSZ3ho33C7ktOcTle2h6dKEWWfVuvU=", |
114 | "path": "../environment", | 114 | "path": "../environment", |
115 | "type": "path" | 115 | "type": "path" |
116 | }, | 116 | }, |
@@ -122,7 +122,7 @@ | |||
122 | "environment_5": { | 122 | "environment_5": { |
123 | "locked": { | 123 | "locked": { |
124 | "lastModified": 1, | 124 | "lastModified": 1, |
125 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", | 125 | "narHash": "sha256-Kj3j/3B8V8IHbeSZ3ho33C7ktOcTle2h6dKEWWfVuvU=", |
126 | "path": "../environment", | 126 | "path": "../environment", |
127 | "type": "path" | 127 | "type": "path" |
128 | }, | 128 | }, |
@@ -134,7 +134,7 @@ | |||
134 | "environment_6": { | 134 | "environment_6": { |
135 | "locked": { | 135 | "locked": { |
136 | "lastModified": 1, | 136 | "lastModified": 1, |
137 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", | 137 | "narHash": "sha256-Kj3j/3B8V8IHbeSZ3ho33C7ktOcTle2h6dKEWWfVuvU=", |
138 | "path": "../environment", | 138 | "path": "../environment", |
139 | "type": "path" | 139 | "type": "path" |
140 | }, | 140 | }, |
@@ -146,7 +146,7 @@ | |||
146 | "environment_7": { | 146 | "environment_7": { |
147 | "locked": { | 147 | "locked": { |
148 | "lastModified": 1, | 148 | "lastModified": 1, |
149 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", | 149 | "narHash": "sha256-Kj3j/3B8V8IHbeSZ3ho33C7ktOcTle2h6dKEWWfVuvU=", |
150 | "path": "../environment", | 150 | "path": "../environment", |
151 | "type": "path" | 151 | "type": "path" |
152 | }, | 152 | }, |
@@ -352,7 +352,7 @@ | |||
352 | }, | 352 | }, |
353 | "locked": { | 353 | "locked": { |
354 | "lastModified": 1, | 354 | "lastModified": 1, |
355 | "narHash": "sha256-1sEwMNWSytfyn4Rh5gUJACwCNgaTLdMDkO9hEr5OB7M=", | 355 | "narHash": "sha256-XdgjCex3Izb2hID+EBVj0YsEE5xvc+I416I2fHpi1LE=", |
356 | "path": "../../flakes/private/mail-relay", | 356 | "path": "../../flakes/private/mail-relay", |
357 | "type": "path" | 357 | "type": "path" |
358 | }, | 358 | }, |
@@ -371,7 +371,7 @@ | |||
371 | }, | 371 | }, |
372 | "locked": { | 372 | "locked": { |
373 | "lastModified": 1, | 373 | "lastModified": 1, |
374 | "narHash": "sha256-VhRXb3AAlSKwkq4BfVmoKzkLxEaAFGjYLAFETTZuhjE=", | 374 | "narHash": "sha256-bWNhkERypwoog3lphO0xURJ4xt58CZEWKn7So7A5mtM=", |
375 | "path": "../../flakes/private/milters", | 375 | "path": "../../flakes/private/milters", |
376 | "type": "path" | 376 | "type": "path" |
377 | }, | 377 | }, |
@@ -389,7 +389,7 @@ | |||
389 | }, | 389 | }, |
390 | "locked": { | 390 | "locked": { |
391 | "lastModified": 1, | 391 | "lastModified": 1, |
392 | "narHash": "sha256-Lpe56lKWhlMQiQoCgvMJuqJtJ8+szDldjqMAGyt2U3U=", | 392 | "narHash": "sha256-VZjf9fXcyeS3LpVW6NvzJpiJuEtJsGlOOfH8XwL8CdI=", |
393 | "path": "../../flakes/private/monitoring", | 393 | "path": "../../flakes/private/monitoring", |
394 | "type": "path" | 394 | "type": "path" |
395 | }, | 395 | }, |
@@ -925,7 +925,7 @@ | |||
925 | }, | 925 | }, |
926 | "locked": { | 926 | "locked": { |
927 | "lastModified": 1, | 927 | "lastModified": 1, |
928 | "narHash": "sha256-/vQ6FGFc53r79yiQrzF0NWTbRd4RKf8QiPSDhmiCciU=", | 928 | "narHash": "sha256-fntajNe0urhuR0NbTOQZLTMhtHnd7p6PVuuEf0oAoFg=", |
929 | "path": "../../flakes/private/opendmarc", | 929 | "path": "../../flakes/private/opendmarc", |
930 | "type": "path" | 930 | "type": "path" |
931 | }, | 931 | }, |
@@ -1104,7 +1104,7 @@ | |||
1104 | }, | 1104 | }, |
1105 | "locked": { | 1105 | "locked": { |
1106 | "lastModified": 1, | 1106 | "lastModified": 1, |
1107 | "narHash": "sha256-+s9C1mPCXRA44AC0Fg+B2uD6UiK0JfUA0F8fhceH0lQ=", | 1107 | "narHash": "sha256-ufaclDTTnoB7xLOCOY4EretrBp70rSmk0YzcVfglbLA=", |
1108 | "path": "../../flakes/private/system", | 1108 | "path": "../../flakes/private/system", |
1109 | "type": "path" | 1109 | "type": "path" |
1110 | }, | 1110 | }, |