Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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).