Rust LGPL-2.1

replited

Replicate SQLite to every where(S3\ftp\webdav\google drive\dropbox,etc)

L

lichuang

Dernière activité 9 oct. 2025
lichuang/replited

253

étoiles

11

forks

1

issues ouvertes

azure-storagebackupdatabaseftpgcsreplicationrestorerusts3sqlsqlitesqlite3storage

Ce README est souvent en anglais.

replited(Replicate SQLITE Daemon)

GitHub stars GitHub forks

Introduction

Inspired by Litestream, with the power of Rust and OpenDAL, replited target to replicate sqlite to everywhere(file system,s3,ftp,google drive,dropbox,etc).

Why replited

  • Using sqlite's WAL mechanism, instead of backing up full data every time, do incremental backup of data to reduce the amount of synchronised data;
  • Support for multiple types of storage backends,such as s3,gcs,ftp,local file system,etc.

Support Backend

Type Services
Standard Storage Protocols ftpCI
Object Storage Services azblob gcs
s3CI
File Storage Services fsCI

Quick Start

Start a daemon to replicate sqlite:

replited --config {config file} replicate 

Restore sqlite from backend:

replited --config {config file} restore --db {db in config file} --output {output sqlite db file path}

Config

See config.md

Sub commands

Replicate

repicate sub command will run a background process to replicate db to replicates in config periodically, example:

replited  --config ./etc/sample.toml  replicate

Restore

restore sub command will restore db from replicates in config, example:

replited  --config ./etc/sample.toml restore --db /Users/codedump/local/sqlite/test.db --output ./test.db

command options:

  • db: which db will be restore from config
  • output: which path will restored db saved

Stargazers over time

Stargazers over time

​

Projets similaires

Streaming replication for SQLite.

Goreplications3sqlite
Bbenbjohnson
14,4 k étoiles423

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Goazure-blobazure-blob-storageazure-files
Rrclone
60 k étoiles5,5 k

RustFS is an open-source, S3-compatible high-performance object storage system supporting migration and coexistence with other S3-compatible platforms such as MinIO and Ceph.

Rustai-nativeai-storageamazon-s3
Rrustfs
34,1 k étoiles1,5 k