Skip to content

swingalytica/coldvault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coldvault

Secure, compressed, profile-based backups for modern infrastructure.

coldvault is a lightweight CLI for reliable backups with compression, encryption, and deterministic execution.

Built for teams that want backups to be simple, reproducible, and secure.

Features

  • Profile-based backups
  • Compression support (zstd)
  • Encryption support (age, AES-256)
  • Deterministic backup pipelines
  • Config-driven execution
  • Local and remote config support
  • Extensible architecture

Installation

Cargo

cargo install coldvault

Build from source

git clone https://github.com/<your-org>/coldvault.git
cd coldvault
cargo build --release

Binary:

./target/release/coldvault

Quickstart

Initialize a config:

coldvault init

Run a backup:

coldvault run -p prod

Verify backup integrity:

coldvault verify

Restore a backup:

coldvault restore --file backup.zst.age

Configuration

Example configuration:

[profiles.prod]
mongo_uri = "mongodb://localhost:27017"

output_dir = "./backups"

compression = "zstd"
encryption = "age"

Run using a profile:

coldvault run -p prod

Profiles

Profiles allow environment-specific backup configurations.

Example:

[profiles.dev]
mongo_uri = "mongodb://localhost"

[profiles.prod]
mongo_uri = "mongodb://prod-db.internal"

Run:

coldvault run -p dev
coldvault run -p prod

Documentation

Philosophy

coldvault is designed around two principles:

  1. Backups must be reliable
  2. Running backups should require minimal effort

The goal is simple:

coldvault run -p prod

No fragile scripts. No repeated configuration.

Roadmap

  • MongoDB backups
  • Compression pipeline
  • Encryption pipeline
  • Restore workflows
  • Storage providers
  • Remote config support
  • Verification pipeline

Contributing

Contributions, bug reports, and discussions are welcome.

Please open an issue before major changes.

License

MIT License. See LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages