Introduction
When running an EasyNAS-based Linux file server, integrating cloud storage via CLI tools brings flexibility, automation and off-site backups. This article reviews top cloud storage providers offering robust command-line interfaces on Linux, with a focus on pCloud, MEGA, Proton Drive, Filen, Tresorit, Icedrive—and two additional recommendations, AWS S3 and Backblaze B2. You’ll find a comprehensive comparison table, selection guidance, setup examples for each CLI tool, and troubleshooting tips.
Top Recommended Providers for EasyNAS
Comparison Table
| Provider | Free Tier | Encryption | CLI Tool | Starting Price | Link |
|---|---|---|---|---|---|
| pCloud | 10 GB | Client-side optional | pcloudcc | €4.99/mo (500 GB) | Visit |
| MEGA | 20 GB | End-to-end | megacmd | €4.99/mo (400 GB) | Visit |
| Proton Drive | 1 GB | End-to-end | proton-drive-cli | €1.99/mo (200 GB) | Visit |
| Filen | 10 GB | Client-side | filen-cli | 3.99/mo (1 TB) | Visit |
| Tresorit | 3 GB | End-to-end | tresorit-cli | €10.42/mo (1 TB) | Visit |
| Icedrive | 10 GB | Client-side optional | icedrive | €1.67/mo (150 GB) | Visit |
| AWS S3 | 5 GB (Free Tier) | Server-side | aws-cli | 0.023/GB-mo | Visit |
| Backblaze B2 | 10 GB | Server-side | b2 (via b2cmd) | 0.005/GB-mo | Visit |
How to Choose the Right Provider
- Security: If zero-knowledge end-to-end encryption is mandatory, MEGA, Proton Drive and Tresorit excel.
- Budget: Backblaze B2 and AWS S3 offer low pay-as-you-go storage, ideal for large archives.
- CLI Maturity: MEGA’s
megacmdand AWS’saws-cliare rock-solid newer tools likeproton-drive-climay still evolve. - Performance: Regional proximity matters choose a provider with nearby servers to your EasyNAS host.
- Features: Versioning, snapshots, share links—compare feature sets before committing.
Using Each CLI on Linux EasyNAS
1. pCloud (pcloudcc)
Installation and authentication:
# Debian/Ubuntu sudo apt install pcloudcc # Start daemon pcloudcc --daemon-user your_user --daemon # Authenticate pcloudcc --auth
Typical commands:
# List files pcloudcc --list # Upload pcloudcc --upload /path/to/local/file /remote/folder # Download pcloudcc --download /remote/file /local/path
Common issues:
- Daemon fails to start: check user privileges.
- “Unable to authenticate”: re-run
--authand verify network.
2. MEGA (megacmd)
Installation and login:
sudo apt install megacmd # Start the MEGA shell mega-login youremail@example.com YourPassword
Basic usage:
# Upload folder mega-put /mnt/nas/data /Backup # Sync local to remote mega-sync /mnt/nas/data /Backup # List mega-ls /Backup
Typical problems:
- Sync stops: update megacmd or use
mega-syncwith--no-progress. - Session expired: re-login or use
mega-login --anonymousfor public links.
3. Proton Drive (proton-drive-cli)
Install (pip method):
pip3 install proton-drive-cli # Initialize and login proton-drive login
Upload/download:
# Upload file proton-drive upload /path/nas/file.txt / # Download file proton-drive download file.txt /local/path/
Watch out for:
- Rate limits: API calls are throttled on free tiers.
- Large files: may require splitting or increasing timeout flags.
4. Filen (filen-cli)
Installation and setup:
# Download latest binary wget https://github.com/filen-io/filen-cli/releases/latest/download/filen-cli-linux-amd64 chmod x filen-cli-linux-amd64 sudo mv filen-cli-linux-amd64 /usr/local/bin/filen # Authenticate filen login
Usage examples:
# List all remote directories filen ls / # Upload directory filen cp -r /mnt/nas/backups /Backups # Download filen get /Backups -o /local/nas
Common errors:
- “API key invalid”: re-login with
filen login. - Transfer stalled: add
--chunk-sizeoption for large files.
5. Tresorit (tresorit-cli)
Beta CLI installation:
# Download from Tresorit (requires account) curl -O https://download.tresorit.com/linux/cli/tresorit-cli.deb sudo dpkg -i tresorit-cli.deb sudo apt -f install # Login tresorit login
Basic commands:
# Sync local to Tresor tresorit sync /mnt/nas/data MyTresor # Status tresorit status # Share link tresorit share MyTresor
Troubleshooting:
- “Sync conflict”: manual resolution via
--conflict-policy. - Memory leaks: restart
tresoritdaemon periodically.
6. Icedrive (icedrive)
Installation:
# Debian/Ubuntu sudo apt install icedrive # Initialize icedrive login
Common operations:
# Mount as drive icedrive mount /mnt/icedrive # Copy file icedrive upload /mnt/nas/file.iso /Backup # Unmount icedrive umount
Watch for:
- Kernel dependencies for FUSE: install
fusepackage. - Mount failure: ensure
/mnt/icedriveexists and user has access.
7. AWS S3 (aws-cli)
Install amp configure:
sudo apt install awscli aws configure # Enter Access Key, Secret Key, region (e.g. us-east-1)
Usage:
# Sync NAS folder to S3 bucket aws s3 sync /mnt/nas/backups s3://my-bucket/backup # List buckets aws s3 ls # Download aws s3 cp s3://my-bucket/file.tar.gz /local/path/
Common pitfalls:
- Permissions denied: check IAM policies and region mismatch.
- Insufficient throughput: increase multipart chunk size via
--multipart-chunk-size-mb.
8. Backblaze B2 (b2cmd)
Setup:
pip3 install b2 b2 authorize-account ACCOUNT_ID APPLICATION_KEY
Examples:
# Create bucket b2 create-bucket my-nas-bucket allPublic # Upload file b2 upload-file my-nas-bucket /mnt/nas/data.tar.gz data.tar.gz # Download file b2 download-file-by-name my-nas-bucket data.tar.gz /local/data.tar.gz
Issues to watch:
- Network errors: retry with
--num-threadsand--retryoptions. - Bucket naming conflicts: choose globally unique names.
Conclusion
For an EasyNAS Linux environment, each provider brings unique strengths: MEGA and Proton Drive for zero-knowledge encryption AWS S3 and Backblaze B2 for cost-effective scalability pCloud, Filen and Icedrive for user-friendly clients. Evaluate free tiers, CLI maturity, security and budget to select the best fit. With the provided installation steps, sample commands and troubleshooting tips, you can integrate cloud storage into your NAS workflows seamlessly.
Be the first to leave a comment