mirror of
https://github.com/zvx-echo6/recon.git
synced 2026-05-20 06:34:40 +02:00
Fix: correct Contabo concept backup path in docs (/opt/backups/recon/concepts/)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a39ec56620
commit
75b2e19e94
1 changed files with 4 additions and 4 deletions
|
|
@ -32,7 +32,7 @@ ls -la /tmp/peertube_prod.pre-domain-feature.*.sql # Confirm non-zero
|
||||||
```bash
|
```bash
|
||||||
# Check last rsync to Contabo
|
# Check last rsync to Contabo
|
||||||
ssh zvx@192.168.1.130 'ls -la /opt/recon/data/concepts/ | tail -5'
|
ssh zvx@192.168.1.130 'ls -la /opt/recon/data/concepts/ | tail -5'
|
||||||
ssh root@100.64.0.1 'ls -la /opt/recon-backup/concepts/ | tail -5'
|
ssh root@100.64.0.1 'ls -la /opt/backups/recon/concepts/ | tail -5'
|
||||||
# Confirm timestamps match within 6 hours
|
# Confirm timestamps match within 6 hours
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -403,17 +403,17 @@ print('Cleared push timestamps')
|
||||||
### Restore concepts after failed --reprocess-missing
|
### Restore concepts after failed --reprocess-missing
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Concept backups are on Contabo at /opt/recon-backup/concepts/
|
# Concept backups are on Contabo at /opt/backups/recon/concepts/
|
||||||
# Identify which hashes were deleted (check RECON logs)
|
# Identify which hashes were deleted (check RECON logs)
|
||||||
ssh zvx@192.168.1.130 'grep "Deleting concept dir" /opt/recon/logs/recon.log | tail -20'
|
ssh zvx@192.168.1.130 'grep "Deleting concept dir" /opt/recon/logs/recon.log | tail -20'
|
||||||
|
|
||||||
# Restore specific hash from Contabo
|
# Restore specific hash from Contabo
|
||||||
HASH=<hash_from_log>
|
HASH=<hash_from_log>
|
||||||
ssh root@100.64.0.1 "tar -cf - -C /opt/recon-backup/concepts/ $HASH" | \
|
ssh root@100.64.0.1 "tar -cf - -C /opt/backups/recon/concepts/ $HASH" | \
|
||||||
ssh zvx@192.168.1.130 "tar -xf - -C /opt/recon/data/concepts/"
|
ssh zvx@192.168.1.130 "tar -xf - -C /opt/recon/data/concepts/"
|
||||||
|
|
||||||
# Restore ALL concepts (nuclear option)
|
# Restore ALL concepts (nuclear option)
|
||||||
ssh root@100.64.0.1 'rsync -av /opt/recon-backup/concepts/ zvx@192.168.1.130:/opt/recon/data/concepts/'
|
ssh root@100.64.0.1 'rsync -av /opt/backups/recon/concepts/ zvx@192.168.1.130:/opt/recon/data/concepts/'
|
||||||
```
|
```
|
||||||
|
|
||||||
### Fully remove feature
|
### Fully remove feature
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue