
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
cloudchain-cli
Advanced tools
Deterministic Google Drive backup manager with chained accounts and encrypted state.
Single-Chain Google Drive Backup Manager A deterministic, account-chain approach to managing unlimited Google Drive backups. DO NOT USE IN AN ATTEMPT TO ABUSE TOC's.
CloudChain is a command-line backup manager designed to store files into a linked chain of Google accounts. Instead of juggling random drives, CloudChain enforces a strict naming convention and quota-based rotation so your backups are always deterministic and infinitely expandable.
• Uses sequential Gmail accounts (<base><NNN>.cloudchain@gmail.com) to extend storage when quotas are hit.
• Self-contained state: All metadata, configs, and tokens are managed inside a single local root folder.
• Deterministic rules: Naming and rotation are enforced by code, so you’ll never wonder which account is “next.”
On first run, you’ll be asked for your local backup root (LOCAL_ROOT). CloudChain will create a state directory:
<LOCAL_ROOT>/cloud_backup/
├── client_secret.json # OAuth credentials
├── accounts.yaml # Account chain state
├── <base>001.cloudchain/ # Per-account directory
│ ├── token.json
│ ├── uploads.yaml
│ └── mirrored files...
└── ...
All state lives here. Nothing is hidden elsewhere.
⸻
CloudChain enforces a strict naming scheme:
<basename>001.cloudchain@gmail.com
• The very first account must end in 001.cloudchain.
• Each new account increments numerically (002, 003, …).
• Base string (mybackup, familydrive, etc.) is locked at first creation.
If quota reaches ≥95%, CloudChain warns you and requires the next sequential account.
All files are uploaded to:
Drive:/backup/
This is fixed and cannot be changed. Every account in the chain mirrors the same folder structure.
cloudchain init
• Prompts for local backup root.
• Enforces base account naming (001.cloudchain).
2. Add a new account
cloudchain add
• Checks last account’s quota.
• Requires next sequential Gmail (<base>002.cloudchain@gmail.com).
3. Backup files
cloudchain backup /path/to/files
cloudchain reset
• Wipes local configs and exits.
• Does not touch remote accounts.
• Do not deviate from naming scheme. The system will reject mismatches.
• Manual Gmail creation required. You must manually create each <base><NNN>.cloudchain@gmail.com before adding it.
• Drive quota is finite. CloudChain only detects when it’s time to roll over; it cannot expand a single account.
CloudChain takes the chaos out of cloud backup by enforcing discipline: • No ad-hoc accounts • No mystery folders • No hidden state
Just a clean, deterministic chain of accounts you can audit at a glance.
FAQs
Deterministic Google Drive backup manager with chained accounts and encrypted state.
We found that cloudchain-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.