Web Analytics

argon

⭐ 164 stars Korean by argon-lab

🌐 언어

아르곤 - MongoDB 타임머신 🚀

Build Status Go Report License: MIT

Homebrew npm PyPI

MongoDB 데이터베이스에서 시간여행을 떠나보세요. 브랜치, 복원, 실험도 두려움 없이 가능합니다.

Argon이란?

Argon은 MongoDB에 Git과 같은 브랜칭타임 트래블 기능을 부여합니다. 즉시 데이터베이스 브랜치를 만들고, 과거의 어느 시점으로도 복원하며, 데이터를 절대 잃지 않습니다.

🎯 주요 이점

빠른 데모

# Install
brew install argon-lab/tap/argonctl    # macOS
npm install -g argonctl                 # Cross-platform

Step 1: Import your existing MongoDB (like "git clone")

argon import database --uri "mongodb://localhost:27017" --database myapp --project myapp

✅ Your data now has time travel capabilities!

Step 2: Use Argon like Git for your database

argon branches create test-env # Branch like "git checkout -b" argon time-travel query --project myapp --branch main --lsn 1000

Step 3: Disaster recovery made simple

argon restore preview --time "1 hour ago" argon restore reset --time "before disaster"

MongoDB를 위한 Git 유사 워크플로우

🔄 1단계: 가져오기(데이터베이스의 "git clone")

# Bring your existing MongoDB into Argon
argon import preview --uri "mongodb://localhost:27017" --database myapp
argon import database --uri "mongodb://localhost:27017" --database myapp --project myapp

✅ Your existing data now has time travel capabilities!

🧪 2단계: 브랜치 생성 ("git checkout -b")

# Create branches for testing, staging, experiments
argon branches create staging --project myapp
argon branches create experiment-v2 --project myapp

Full database copies created instantly 🚀

📊 3단계: 시간 여행("git log"로 데이터 확인하기)

# See your data's history
argon time-travel info --project myapp --branch main
argon time-travel query --project myapp --branch main --lsn 1000

Compare data across time like Git commits

🚨 4단계: 복원하기("git reset"으로 재앙 복구하기)

# "Someone deleted all users!"
argon restore reset --time "5 minutes ago"

Crisis averted in seconds, not hours

작동 원리

Argon은 MongoDB 작업을 가로채어 Write-Ahead Log (WAL)에 기록하여 다음을 가능하게 합니다:

기존 MongoDB 코드는 변경 없이 작동합니다 - 단지 ENABLE_WAL=true만 추가하세요.

설치

# CLI
brew install argon-lab/tap/argonctl    # macOS
npm install -g argonctl                 # Node.js
pip install argon-mongodb               # Python SDK

From Source

git clone https://github.com/argon-lab/argon cd argon/cli && go build -o argon

문서

커뮤니티

---

MongoDB에 타임머신을 선사하세요. 데이터를 다시는 잃지 마세요.

Argon이 도움이 되었다면 Star를 눌러주세요!

시작하기 → | 라이브 데모 →

--- Tranlated By Open Ai Tx | Last indexed: 2025-07-21 ---