Best Cloud Storage with CLI for Linux NethServer
Managing cloud storage directly from the command line on Linux NethServer can streamline backups, synchronization, and automation. This article reviews the top cloud storage providers offering CLI tools or full compatibility with rclone. We cover pCloud, Mega, Proton Drive, Filen, Tresorit, Icedrive—and a few extra solutions—and provide step-by-step usage, comparisons, and troubleshooting tips.
Top Recommendations for NethServer
- pCloud: Balanced free tier, strong encryption, native CLI (pcloud.com).
- Mega: Generous free storage, official CLI (mega.io).
- Proton Drive: Privacy-focused, end-to-end encryption, community CLI via rclone (proton.me/drive).
- Dropbox: Mature ecosystem, robust rclone support (dropbox.com).
- Google Drive: Generous quotas, rclone integration (drive.google.com).
- Backblaze B2: Cost-effective for large archives, rclone-ready (backblaze.com).
- Filen: WebDAV only, strong encryption (filen.io).
- Tresorit: Enterprise-grade security, WebDAV CLI (tresorit.com).
- Icedrive: WebDAV rclone, modern UI (icedrive.net).
Comparison Table
| Service | Link | Official CLI | rclone Support | Encryption | Free Tier | Typical Pricing |
|---|---|---|---|---|---|---|
| pCloud | pcloud.com | Yes | Yes | Client-side / Server-side | 10 GB | €49.99/year (500 GB) |
| Mega | mega.io | Yes | Yes | Client-side | 20 GB | €4.99/month (400 GB) |
| Proton Drive | proton.me/drive | No (community CLI) | Yes | End-to-end | 1 GB | €4.47/month (200 GB) |
| Dropbox | dropbox.com | Yes | Yes | Server-side | 2 GB | 9.99/month (2 TB) |
| Google Drive | drive.google.com | No (gdrive client third-party) | Yes | Server-side | 15 GB | 1.99/month (100 GB) |
| Backblaze B2 | backblaze.com | No (rclone) | Yes | Server-side | 10 GB trial | 0.005/GB-month |
| Filen | filen.io | No (WebDAV) | Yes (webdav backend) | End-to-end | 15 GB | €4.99/month (200 GB) |
| Tresorit | tresorit.com | No (webdav) | Yes (webdav backend) | End-to-end | 3 GB | €10.42/month (200 GB) |
| Icedrive | icedrive.net | No (webdav) | Yes | Client-side | 10 GB | €4.17/month (150 GB) |
Which One to Choose?
Select based on your priorities:
- Free tier cost: Mega or Google Drive for large free quotas.
- Privacy encryption: Proton Drive, Tresorit, Filen.
- Enterprise compliance: Tresorit or professional pCloud.
- Automation scripting: pCloud, Mega, Dropbox with official CLI rclone for all others.
If you already use NethServer’s repository, install rclone and wrap most services under a single CLI.
How to Use Each Service with CLI
1. pCloud (native CLI)
Install and authenticate:
yum install -y pcloudcc pcloudcc --username you@example.com --password YourPassword --daemon
Mount remote folder:
mkdir -p /mnt/pcloud pcloudcc --mountpoint /mnt/pcloud
2. Mega (native MEGAcmd)
# Install MEGAcmd yum install -y epel-release yum install -y megatools megacmd # Login mega-login you@example.com YourPassword # Upload and download mega-put localfile.txt /Root/remote.txt mega-get /Root/remote.txt downloaded.txt
3. Proton Drive (rclone backend)
Configure rclone:
rclone config # n) New remote # name> proton # Storage> protondrive # client_id> (leave blank) # client_secret> (leave blank) # Choose login method and follow browser prompt # Advanced config: no # Edit advanced config: no # Save and exit
Sync folder:
rclone sync /srv/backups proton:/Backup --progress
4. Filen (WebDAV via rclone)
# Configure rclone rclone config # New remote filen # Storage> webdav # url> https://dav.filen.io # vendor> other # user> you@filen.io # pass> your_password # Save # Usage example rclone ls filen:
5. Tresorit (WebDAV via rclone)
rclone config # name> tresorit # Storage> webdav # url> https://tresorit.com/webdav # vendor> other # user> you@domain.com # pass> your_password rclone sync /data tresorit:MyTresoritFolder
6. Icedrive (WebDAV or rclone)
rclone config # name> icedrive # Storage> webdav # url> https://webdav.icedrive.net # vendor> other # user> you@example.com # pass> your_password # Save and exit rclone copy /var/log icedrive:LogsArchive
7. Dropbox (Official CLI rclone)
# Official CLI (Dropbox-Uploader script) git clone https://github.com/andreafabrizi/Dropbox-Uploader.git cd Dropbox-Uploader ./dropbox_uploader.sh # Or rclone rclone config # Storage> dropbox # Follow auth in browser rclone ls dropbox:
8. Google Drive (rclone)
rclone config # name> gdrive # Storage> drive # follow prompts for OAuth rclone copy /home userfiles gdrive:MyFolder
9. Backblaze B2 (rclone)
rclone config # name> b2 # Storage> b2 # account> yourAccountID # key> yourApplicationKey rclone sync /srv/archive b2:my-bucket
Typical Problems Troubleshooting
- Authentication errors: Ensure correct OAuth URIs (especially for rclone). Check time sync on NethServer.
- Mount failures: Use
straceor check/var/log/messagesfor permissions or FUSE issues. - Slow transfers: Increase
--transfersand--checkersin rclone (e.g.,--transfers=8 --checkers=16). - Quota exceeded: Monitor free tier limits, enable billing or switch plans if needed.
- WebDAV support: Some providers throttle WebDAV—consider official clients or API backends.
Conclusion
For a seamless CLI experience on NethServer, pCloud and Mega offer official clients, while rclone unifies access to almost any service. Choose based on your storage needs, budget, and security requirements. With these tools in place, you can fully automate backup and synchronization workflows directly from your Linux terminal.
Be the first to leave a comment