CLI Installation & Setup

Get up and running with the Resplix CLI in minutes. Installation is straightforward for all major platforms.

Quick Install

macOS / Linux

$ curl -sSL https://install.Resplix.com | bash
$ pit --version
Resplix v1.2.0

# Authenticate with your account
$ pit auth login
Opening browser...
Successfully authenticated as alice@company.com

Windows (PowerShell)

# Requires admin PowerShell
> iwr https://install.Resplix.com/windows -OutFile pit.exe
> ./pit --version
Resplix v1.2.0

> ./pit auth login

Verify Installation

Confirm your installation and check for security:

Checksum Verification

$ # Get the latest checksum
$ curl -sSL https://releases.Resplix.com/checksums.txt | grep linux-amd64

# Verify the binary
$ sha256sum -c <(echo "abc123def456...")
pit-linux-amd64: OK

Run Your First Backup

With the CLI installed and authenticated, you can immediately start backing up your databases:

Create a basic configuration file

# Create Resplix.yaml
cat > Resplix.yaml << EOF
version: "1.0"

database:
  type: postgres
  uri: postgres://user:pass@localhost:5432/mydb
  ssl: true

storage:
  provider: s3
  bucket: my-backups
  region: us-east-1

retention:
  interval: 24h
  keep: 30d
  verify: true
EOF

Test the connection and run backup

$ pit backup test
Testing database connection...
 Connected to postgres://localhost:5432/mydb
Testing storage connection...
 Connected to s3://my-backups

$ pit backup run
Starting backup of mydb...
├─ Dump: ████████████████████ 2.1 GB
├─ Compress: ████████████████████ 1.2 GB
├─ Encrypt: ████████████████████ 1.2 GB
├─ Upload: ████████████████████ 1.2 GB
 Backup completed in 23 minutes

Next Steps

  • → Read the Configuration Guide for advanced options
  • → Set up automated backups with cron or systemd
  • → Explore resplix restore workflows
  • → Configure alerts and monitoring