Deploy redis-backuper-s3
backup your redis db and upload to a s3 bucket
Redis Backuper
lassejlv/redis-backuper
Just deployed
Deploy and Host redis-backuper-s3 on Railway
A lightweight Python service that automatically backs up Redis/Valkey databases to any S3-compatible storage on a configurable schedule. Supports authentication and timestamped backups with proper error handling and logging.
About Hosting redis-backuper-s3
Deploying redis-backuper-s3 involves running a containerized Python service that connects to your Redis instance and periodically creates RDB dumps, uploading them to S3-compatible storage. The service runs continuously with configurable cron scheduling, handles authentication, and provides comprehensive logging. It's designed to be stateless and requires minimal resources, making it perfect for automated database backup workflows in production environments.
Common Use Cases
- Automated daily/hourly backups of production Redis databases
- Disaster recovery for Redis data with S3 storage redundancy
- Compliance requirements for database backup retention policies
Dependencies for redis-backuper-s3 Hosting
- Redis or Valkey database instance (local or remote)
- S3-compatible storage service (AWS S3, MinIO, DigitalOcean Spaces, etc.)
Deployment Dependencies
- Redis CLI tools for creating database dumps
- Boto3 Python SDK for S3 operations
Implementation Details
The service uses redis-cli --rdb
for creating consistent point-in-time snapshots:
cmd = ['redis-cli', '-h', self.redis_host, '-p', self.redis_port]
if self.redis_password:
cmd.extend(['-a', self.redis_password])
cmd.extend(['--rdb', dump_file])
Backups are timestamped and uploaded to configurable S3 paths for easy organization and retention management.
Why Deploy redis-backuper-s3 on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying redis-backuper-s3 on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Redis Backuper
lassejlv/redis-backuperS3_BUCKET
S3_REGION
REDIS_HOST
REDIS_PORT
S3_ENDPOINT
S3_ACCESS_KEY
S3_SECRET_KEY
REDIS_PASSWORD