How to Backup Your Redis Instance
A Railway-hosted Redis instance can be backed up by running a local redis-server, setting masterauth to the Railway Redis password, and issuing SLAVEOF <host> <port> so the local instance replicates the remote one. Once INFO replication shows master_sync_in_progress:0, BGSAVE writes a dump.rdb file, and CONFIG GET dir reveals where it was saved. Run SLAVEOF NO ONE before shutting down so the local server stops syncing. Railway says dashboard-based backups are planned.
Related posts
- Security Disclosure Recommendation: Rotate Redis Database Credentials
Railway mediumAdeptRailway users whose Redis password or REDIS_URL may have been exposed in the October 21, 2026 security disclosure should use Regenerate in the Database View. It changes the password inside Redis and updates the service variables together. Avoid editing REDISPASSWORD or running CONFIG SET requirepass by hand, because either one desyncs the database from the variables. Dependent services must be redeployed, pasted connection strings should be swapped for reference variables, and external REDIS_PUBLIC_URL consumers need the new value updated manually. Afterwards, check for NOAUTH/WRONGPASS errors, inspect CLIENT LIST for unknown clients, compare INFO keyspace/stats for misuse, and invalidate any sessions or tokens stored in Redis.
- How to Backup and Restore Your Postgres Database
Railway mediumAdeptPostgres databases on Railway can be backed up with pg_dump using tar format (-F t) and the PGUSER, PGHOST, PGPORT, PGDATABASE and PGPASSWORD values from the project's variables, then restored into another Railway Postgres instance with pg_restore. Install steps for the psql client cover macOS (Homebrew), Ubuntu (postgresql-client) and Windows (WSL2 or installer). For Heroku migrations, use a direct pg_dump instead of heroku pg:backups:download, since Heroku's dump format is specialized. Prisma users may see a harmless warning during restore.
- Breaking the Loop: How we migrated our backup catalog for 250+ MySQL clusters to AWS
Booking.com Engineering mediumAdeptBooking.com moved the Bacula backup catalog for 250+ MySQL clusters off its on-prem dbadb replication chain and onto Amazon RDS MySQL. The move removes a circular dependency: Bacula could not automatically restore the database that held its own catalog. The work became a "3-in-1" side-by-side migration, combining an OS upgrade from CentOS 8 to Oracle Linux 9, an upgrade from Bacula v12 to v16, and the database move. A new stack was built greenfield and ran in parallel with the old one past the backup retention window, instead of using replication-based data migration. The team provisioned RDS with the same Terraform modules customer teams use and extended them for cross-region replicas, since RDS is multi-AZ but not multi-region.
- Announcing self-hosted Deno KV, continuous backups, and replicas
Deno mediumAdeptDeno KV can now be self-hosted via an open-source, MIT-licensed `denokv` binary backed by SQLite and reachable from `Deno.openKv` over KV Connect. Databases hosted on Deno Deploy (backed by FoundationDB) can also stream continuous backups to S3 or GCS, and `denokv --sync-from-s3` runs a read-only local replica from those buckets. The replica keeps full mutation history, so `denokv pitr list` and `pitr checkout` give point-in-time recovery by versionstamp. Self-hosters own backups, replication and HA themselves, and Litestream or LiteFS is recommended for the SQLite file.
- Migrating From Heroku To Railway
Railway mediumAdeptMoving a Heroku app to Railway comes down to three steps: deploy from a GitHub repo, import Heroku config vars, and add Postgres and Redis as separate database services. Railway reads the repo's Procfile and turns each named process (e.g. web, worker) into its own service, which takes the place of Heroku's dyno process model. It injects DATABASE_URL and REDIS_URL automatically, so any imported Heroku copies of those variables must be deleted or they will override Railway's. The guide also covers `railway run` for running commands like migrations against cloud variables, `railway up` for CLI deploys, and having apps listen on 0.0.0.0:$PORT so Railway can expose them.