chore: backup infrastructure configurations [skip ci]
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T02:51:59.654758+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T03:52:02.454196+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T04:52:05.019151+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T05:52:07.588117+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T06:52:10.170123+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T07:52:12.707588+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T08:52:15.427258+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T09:52:18.068180+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T10:52:20.724438+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T11:52:23.281826+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T12:52:25.883799+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T13:52:28.523739+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T14:52:31.197060+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T15:52:33.779852+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T16:52:36.357690+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T17:52:38.982941+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T18:52:41.561203+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T19:52:44.220795+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T20:52:46.832717+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T21:52:49.415846+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T22:52:52.030143+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-18T23:52:54.700063+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-19T00:52:57.266043+00:00"}
|
||||
@@ -0,0 +1 @@
|
||||
{"sync_type": "weight_sync", "status": "partial", "message": "Synced 0 records, 1 failed", "records_processed": 0, "timestamp": "2026-01-19T01:52:59.807821+00:00"}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"backup_timestamp": "2026-01-18T02:01:33.499004",
|
||||
"total_keys": 909,
|
||||
"successful_backups": 904,
|
||||
"backup_timestamp": "2026-01-19T02:01:29.478349",
|
||||
"total_keys": 933,
|
||||
"successful_backups": 928,
|
||||
"failed_backups": 5,
|
||||
"consul_address": "http://consul.service.dc1.consul:8500"
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
{"conn_url":"postgres://192.168.4.227:5432/postgres","api_url":"http://192.168.4.227:8008/patroni","state":"running","role":"replica","version":"4.0.4","xlog_location":658774775088,"replication_state":"streaming","timeline":248}
|
||||
{"conn_url":"postgres://192.168.4.227:5432/postgres","api_url":"http://192.168.4.227:8008/patroni","state":"running","role":"replica","version":"4.0.4","xlog_location":660138927608,"replication_state":"streaming","timeline":248}
|
||||
@@ -1 +1 @@
|
||||
{"conn_url":"postgres://192.168.4.228:5432/postgres","api_url":"http://192.168.4.228:8008/patroni","state":"running","role":"primary","version":"4.0.4","xlog_location":658774775088,"timeline":248}
|
||||
{"conn_url":"postgres://192.168.4.228:5432/postgres","api_url":"http://192.168.4.228:8008/patroni","state":"running","role":"primary","version":"4.0.4","xlog_location":660138927608,"timeline":248}
|
||||
@@ -1 +1 @@
|
||||
{"conn_url":"postgres://192.168.4.36:5432/postgres","api_url":"http://192.168.4.36:8008/patroni","state":"running","role":"replica","version":"4.0.4","xlog_location":658774823784,"replication_state":"streaming","timeline":248}
|
||||
{"conn_url":"postgres://192.168.4.36:5432/postgres","api_url":"http://192.168.4.36:8008/patroni","state":"running","role":"replica","version":"4.0.4","xlog_location":660138988504,"replication_state":"streaming","timeline":248}
|
||||
@@ -1 +1 @@
|
||||
{"optime":658774775088,"slots":{"pg_odroid7":658774775088,"pg_opti1":658774775088,"pg_odroid8":658774775088},"retain_slots":["pg_odroid7","pg_odroid8","pg_opti1"]}
|
||||
{"optime":660138927608,"slots":{"pg_odroid7":660138927608,"pg_opti1":660138927608,"pg_odroid8":660138927608},"retain_slots":["pg_odroid7","pg_odroid8","pg_opti1"]}
|
||||
26
nomad_backup/finance-app.hcl
Normal file
26
nomad_backup/finance-app.hcl
Normal file
@@ -0,0 +1,26 @@
|
||||
variable "container_version" {
|
||||
default = "latest"
|
||||
}
|
||||
|
||||
job "finance-app" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "finance-app" {
|
||||
count = 1
|
||||
|
||||
task "finance-app" {
|
||||
driver = "docker"
|
||||
|
||||
config {
|
||||
image = "gitea.service.dc1.fbleagh.duckdns.org/sstent/dailyemail-finance:${var.container_version}"
|
||||
}
|
||||
|
||||
env {
|
||||
GMAIL_USER = "stuart.stent@gmail.com"
|
||||
GMAIL_APP_PASSWORD = "qacyyoxcddwbxyfw"
|
||||
RECIPIENT_EMAIL = "stuart.stent@gmail.com,sdoltonz@gmail.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user