From b6da16d58da99ba2c1248638a0410b8ac8f4f222 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 14:54:38 +0000 Subject: [PATCH] docs: update README.md (The S3 media migration and restore commands reference `server/scripts/` ) --- README.md | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 9a4e638..3d0520d 100644 --- a/README.md +++ b/README.md @@ -98,24 +98,12 @@ S3_PUBLIC_URL=https://your-public-bucket-url.com S3_REGION=auto ``` -When configured, all new media uploads go to S3 automatically. To migrate existing local media to S3: - -```bash -bun server/scripts/migrate-media-to-s3.js -# Add --delete-local to remove local copies after upload -``` +When configured, all new media uploads go to S3 automatically. ### Automatic DB backups When S3 is configured, socialChat will automatically back up the SQLite database to `backups/` in your S3 bucket every Sunday at midnight UTC, keeping the 4 most recent backups. -To restore a backup: - -```bash -bun server/scripts/restore-backup.js # restore latest -bun server/scripts/restore-backup.js list # see available backups -bun server/scripts/restore-backup.js db-2026-03-16-a7f3c9d2.sqlite # restore specific -``` ## Deployment @@ -139,3 +127,4 @@ Any machine with Bun installed works. Point a reverse proxy (nginx, Caddy) at po ## Android Client A native Android client is available at [usr-wwelsh/socialChatAndroid](https://github.com/usr-wwelsh/socialChatAndroid). +