From 713a791f533c40fff23b3356838e08395c656c9e Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Thu, 12 Mar 2026 08:05:34 +0000 Subject: [PATCH] added to do list --- README.md | 4 +--- databasus/TODO.md | 39 --------------------------------------- 2 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 databasus/TODO.md diff --git a/README.md b/README.md index 3668597..c4c7cca 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,11 @@ ## Forgejo Backup (TODO) - [ ] Forgejo postgres backup via databasus same bucket but key would be postgres -- [ ] Test restore from restic snapshot up - ## Set up runners ## set up docker image registry -## Migrate everything +## Migrate everything else one at a time based on what i use # Migrate hyprland diff --git a/databasus/TODO.md b/databasus/TODO.md deleted file mode 100644 index 0dc0cd7..0000000 --- a/databasus/TODO.md +++ /dev/null @@ -1,39 +0,0 @@ -# TODO - -## Databasus — Migrate to Ceph + AWS Backups - -> Files: `databasus/` - -### Step 3 — Migrate PVC data (local → ceph) -```bash -# Scale down the app -kubectl scale deployment databasus --replicas=0 - -# Create new ceph PVC -kubectl apply -f databasus/databasus-storage.yaml - -# Run migration job (copies /databasus-data from local PV → ceph PVC) -kubectl apply -f databasus/databasus-migration-job.yaml -kubectl wait --for=condition=complete job/databasus-migration --timeout=120s - -# Verify data was copied -kubectl logs job/databasus-migration -``` - -### Step 4 — Deploy updated app -```bash -kubectl apply -f databasus/databasus-backup-secret.yaml -kubectl apply -f databasus/databasus.yaml -``` - -### Step 5 — Cleanup old local resources -```bash -kubectl delete pvc databasus-pvc-local -kubectl delete pv databasus-pv -kubectl delete job databasus-migration -``` - -### Step 6 — Verify -- Check app is running: `kubectl get pods -l app=databasus` -- Check backup sidecar logs: `kubectl logs -l app=databasus -c backup` -- Visit https://databasus.juntekim.com