Best Cloud Storage with CLI for Linux Parted Magic
Leveraging cloud storage via command-line on Parted Magic can streamline backups, automate file transfers, and integrate seamlessly into scripts. This article reviews top cloud storage providers with robust CLI tools, compares their features, and guides you through installation, usage, and troubleshooting.
Why CLI Cloud Storage on Parted Magic?
- Minimal GUI environment: Parted Magic focuses on disk tasks CLI tools avoid installing bulky desktop clients.
- Scripting automation: Automate backups, snapshots, and sync tasks via shell scripts.
- Resource constraints: Lightweight CLI clients consume minimal memory and disk space.
Selection Criteria
- Official or well-maintained CLI tool
- Strong encryption and zero-knowledge options
- Ease of setup on minimal Linux
- Cross-platform consistency (if you use other OS)
- Pricing and free tier limits
Top Recommended Providers
- pCloud
- MEGA
- Proton Drive
- Filen
- Tresorit
- Icedrive
- Rclone (multi-backend)
- Backblaze B2
- Dropbox (via Dropbox-Uploader)
Comparison Table
| Provider | CLI Tool | Encryption | Free Tier | Link |
|---|---|---|---|---|
| pCloud | pcloudcc | Client-side (pCloud Crypto addon) | 10 GB | pCloud.com |
| MEGA | megacmd | End-to-end | 20 GB | mega.nz |
| Proton Drive | proton-drive-cli | Zero-knowledge | 1 GB | proton.me/drive |
| Filen | filen-cli | End-to-end | 5 GB | filen.io |
| Tresorit | tresorit-cli | End-to-end | 3 GB | tresorit.com |
| Icedrive | icy | Crypto client-side | 10 GB | icedrive.net |
| Rclone | rclone | Optional client-side | Depends on backend | rclone.org |
| Backblaze B2 | b2 (official) / rclone | Server-side | 10 GB | backblaze.com |
| Dropbox | Dropbox-Uploader | Server-side | 2 GB | GitHub |
Which One to Choose?
Choosing the right service depends on your priorities:
- Security/Privacy: Proton Drive, Tresorit, MEGA
- Free space: MEGA, Icedrive, pCloud
- Multi-cloud flexibility: Rclone
- Budget backups: Backblaze B2 (low cost per GB)
- Open-source integration: Dropbox-Uploader, rclone
Using Each Service in CLI
1. pCloud (pcloudcc)
Install:
wget https://downloads.pcloud.com/pcloudcc/pcloudcc-linux-64bit.zip unzip pcloudcc-linux-64bit.zip chmod x pcloudcc sudo mv pcloudcc /usr/local/bin/
Login and mount:
pcloudcc -u user@domain.com -p YOUR_PASSWORD --mount /mnt/pcloud
Typical issues: Ensure FUSE is installed (sudo apt install fuse), check permissions on mount point.
2. MEGA (megacmd)
Install:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A6B9CAAF sudo sh -c echo deb https://mega.nz/linux/MEGAsync/xUbuntu_20.04/ ./ > /etc/apt/sources.list.d/mega.list sudo apt update sudo apt install megacmd
Login and usage:
mega-login you@email.com YOUR_PASSWORD mega-mkdir /Root/backup mega-put /path/to/localfile /Root/backup/ mega-sync /path/to/folder /Root/remoteFolder
Troubleshoot: Check API limits use mega-log for detailed logs.
3. Proton Drive (proton-drive-cli)
Install (via pip):
sudo apt update sudo apt install python3-pip pip3 install proton-drive-cli
Initialize and login:
proton-drive login proton-drive upload --path /local/folder --remote-folder /Drive/Backup
Issues: May require 2FA code run proton-drive logout and re-login if token expires.
4. Filen (filen-cli)
Download and install:
curl -sL https://github.com/Filen-Files/filen-cli/releases/download/v0.1.0/filen-cli_linux_amd64.tar.gz tar xz sudo mv filen /usr/local/bin/
Configure and upload:
filen login filen upload --local /path/to/data --remote /MyFilen/backup
Common error: “Unauthorized” means expired token—run filen login again.
5. Tresorit (tresorit-cli)
Install:
curl -fsS https://get.tresorit.com/linux/cli/install.sh sudo bash
Usage:
tresorit login tresorit sync create local_folder Tresorit/Backup tresorit sync start local_folder
Problems: FUSE issues—ensure tresorit-fuse is running, check /var/log/tresorit.log.
6. Icedrive (icy)
Install:
wget https://github.com/icedriveapp/cli/releases/download/v1.2.0/icy-linux-x64.tar.gz tar xzf icy-linux-x64.tar.gz sudo mv icy /usr/local/bin/
Authenticate and mount:
icy auth icy mount /mnt/icedrive
Fix: If mount fails, run fusermount -u /mnt/icedrive and retry.
7. Rclone (multi-backend)
Install:
curl https://rclone.org/install.sh sudo bash
Configure any service:
rclone config # Follow prompts to add pcloud, mega, backblaze, dropbox, etc. rclone sync /local/folder remote:backup
Note: Rclone offers chunked transfers, encryption, amp scheduling via cron. See official docs.
8. Backblaze B2 (b2 CLI)
Install official B2 CLI:
pip3 install b2
Authorize and upload:
b2 authorize-account YOUR_KEY_ID YOUR_APP_KEY b2 create-bucket my-bucket allPrivate b2 upload-file my-bucket ./localfile.txt remotefile.txt
Tip: Use rclone for multi-cloud with B2 support.
9. Dropbox (Dropbox-Uploader)
Install:
git clone https://github.com/andreafabrizi/Dropbox-Uploader.git cd Dropbox-Uploader chmod x dropbox_uploader.sh sudo mv dropbox_uploader.sh /usr/local/bin/dropbox_uploader
Initialize and upload:
dropbox_uploader # Follow prompts to grant API access dropbox_uploader upload /path/to/file /Apps/MyApp/file
Limits: API rate limits may require batching large sync jobs.
Typical Problems Troubleshooting
- FUSE mount failures: Ensure
fusepackage is installed and user is infusegroup. - Token expiration: Most services issue short-lived tokens. Re-login or refresh credentials periodically.
- Network timeouts: Increase retry limits or chunk sizes in CLI config files.
- Permissions: Mount points must be owned or writable by the mounting user.
- API limits: Split large operations into smaller batches or schedule during off-peak hours.
Conclusion
On Parted Magic, CLI cloud storage unlocks automation and lightweight workflows. MEGA and pCloud shine for generous free space, Proton Drive and Tresorit excel at privacy, while Rclone provides universal backend support. Backblaze B2 offers budget-friendly archival, and Dropbox-Uploader covers legacy Dropbox. Evaluate your encryption needs, free tier limits, and scripting requirements to choose the best fit.
Be the first to leave a comment