Include ckpool volume in backup and restore
The backup only covered /root/.kamado (DB, config, TLS certs) but missed /root/.ckpool which holds miner/worker state, pool status, and ckpool logs. Without it a restore would lose all per-user and per-worker statistics.
This commit is contained in:
@@ -131,9 +131,11 @@ backup:
|
|||||||
- create
|
- create
|
||||||
- /mnt/backup
|
- /mnt/backup
|
||||||
- /root/.kamado
|
- /root/.kamado
|
||||||
|
- /root/.ckpool
|
||||||
mounts:
|
mounts:
|
||||||
BACKUP: /mnt/backup
|
BACKUP: /mnt/backup
|
||||||
main: /root/.kamado
|
main: /root/.kamado
|
||||||
|
ckpool: /root/.ckpool
|
||||||
restore:
|
restore:
|
||||||
type: docker
|
type: docker
|
||||||
image: compat
|
image: compat
|
||||||
@@ -144,9 +146,11 @@ backup:
|
|||||||
- restore
|
- restore
|
||||||
- /mnt/backup
|
- /mnt/backup
|
||||||
- /root/.kamado
|
- /root/.kamado
|
||||||
|
- /root/.ckpool
|
||||||
mounts:
|
mounts:
|
||||||
BACKUP: /mnt/backup
|
BACKUP: /mnt/backup
|
||||||
main: /root/.kamado
|
main: /root/.kamado
|
||||||
|
ckpool: /root/.ckpool
|
||||||
|
|
||||||
actions:
|
actions:
|
||||||
stratum-smoke-test:
|
stratum-smoke-test:
|
||||||
|
|||||||
Reference in New Issue
Block a user