litestream-coder

Configure Litestream continuous SQLite backups for Rails 8+ production deployments.

47|11|Updated Nov 26, 2025
One-click install
npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill litestream-coder
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: litestream-coder
Source: https://github.com/majesticlabs-dev/majestic-marketplace/tree/main/plugins/majestic-rails/skills/litestream-coder
Command: npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill litestream-coder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill explains configuring Litestream for continuous SQLite backups to S3-compatible storage in Rails apps, including retention and replication settings.

Core Features & Use Cases

  • Litestream Config: YAML-based backup scheduling and replication.
  • Retention & Snapshots: Define retention windows and snapshot frequency.
  • Kamal/Kamal-like Deployment: Integration notes for deployment pipelines.

Quick Start

Create config/litestream.yml with a single production database and a basic replication target.

Frequently Asked Questions about litestream-coder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up continuous SQLite backups to S3 for a Rails production app?▼

Litestream provides continuous SQLite backups by creating a config/litestream.yml file that defines replication targets to S3-compatible storage with sync intervals, snapshots, and retention policies. This ensures your Rails SQLite databases are backed up automatically without manual intervention.

Can I back up multiple SQLite databases in Rails with Solid Queue, Solid Cache, and Solid Cable?▼

Yes. Litestream supports per-database configuration, allowing you to set separate sync, snapshot, and retention policies for your primary production.sqlite3 and auxiliary databases like cache, queue, and cable databases in a single config/litestream.yml file.

What do I need to configure Litestream for Rails 8 production deployments?▼

You need Rails 8+, a config/litestream.yml with S3-compatible storage credentials, force-path-style enabled, defined sync and snapshot intervals, retention settings, and integration with your deployment pipeline like Kamal 2 to automate backup processes.

How does Litestream integrate with Kamal deployments?▼

Litestream integrates with Kamal 2 deployment pipelines through configuration in config/litestream.yml, enabling health checks and disaster-recovery commands to run automatically during deployment, ensuring backups are maintained across production releases.

What retention and snapshot options does Litestream offer for SQLite backups?▼

Litestream allows you to define snapshot intervals for point-in-time recovery, retention windows to control backup lifespan, and retention-check intervals to validate policy compliance, with separate settings per database for granular control.

Can I use force-path-style with S3-compatible storage in Litestream?▼

Yes. Litestream supports force-path-style configuration in config/litestream.yml for S3-compatible storage backends, allowing you to use path-style URLs instead of virtual-hosted-style when your storage provider requires it.