Best Cloud Storage with CLI for Linux Bicom PBXware
Managing backups and syncing media or configuration files for your Bicom PBXware system requires reliable, secure, and scriptable cloud storage. This article examines top cloud storage providers offering Command-Line Interface (CLI) tools compatible with Linux (Debian/Ubuntu/CentOS) – the preferred distributions for Bicom PBXware. We compare features, provide installation and usage examples, and highlight common pitfalls.
Top Recommendations
| Provider | CLI Tool | Free Storage | End-to-End Encryption | Official Link |
|---|---|---|---|---|
| pCloud | pcloudcc | 10 GB | No (Client-side encryption via pCloud Crypto) | pcloud.com |
| MEGA | megacmd | 20 GB | Yes (Zero-knowledge) | mega.nz |
| Proton Drive | proton-drive-cli | 1 GB | Yes (Zero-knowledge) | proton.me/drive |
| FileN | filen-cli | 10 GB | Yes (Zero-knowledge) | filen.io |
| Tresorit | tresorit-cli | 3 GB | Yes (Zero-knowledge) | tresorit.com |
| Icedrive | icedrive-cli | 10 GB | No (Client-side encryption via IcedriveCrypto) | icedrive.net |
| Dropbox | dropbox-cli | 2 GB | No (Optional at-rest encryption) | dropbox.com |
| AWS S3 | AWS CLI | Pays-as-you-go | Yes (Server-side and optional client-side) | aws.amazon.com/cli |
| Rclone (Aggregator) | rclone | Varies by backend | Depends on remote | rclone.org |
Comparison Overview
- Security: Proton Drive, MEGA, Tresorit, FileN offer zero-knowledge encryption. pCloud and Icedrive provide optional client-side add-ons.
- Storage Capacity: MEGA (20 GB) and pCloud/Icedrive (10 GB) lead free tiers. Dropbox and Proton Drive are more limited.
- Pricing: AWS S3 is flexible but pay-as-you-go. Others have fixed monthly plans.
- CLI Maturity: AWS CLI and Rclone are rock-solid. MEGAcmd and pCloudcc are stable. Some newer CLIs (Proton Drive, FileN) may have edge-case bugs.
- Integration: Rclone can unify all providers into one mount or script interface, ideal for complex PBXware backup jobs.
Which One to Choose?
- If you need maximum free storage and solid encryption: MEGA or combine Rclone with MEGA.
- For end-to-end privacy and professional support: Proton Drive, Tresorit, or FileN.
- For enterprise-grade flexibility and scripting: AWS S3 CLI or Rclone to tie into multiple backends.
- For simple, reliable everyday syncing: pCloud CLI or Dropbox CLI.
Installation and Usage Examples
1. pCloud (pcloudcc)
Install the pCloud CLI and mount your remote storage:
# Debian/Ubuntu sudo apt-get update sudo apt-get install pcloudcc # CentOS sudo yum install epel-release sudo yum install pcloudcc # Mount remote folder pcloudcc --auth your@email.com --password YourPassword --mountpoint /mnt/pcloud
Common issues: FUSE permissions – add your user to the fuse group and ensure /etc/fuse.conf has user_allow_other.
2. MEGA (megacmd)
# Debian/Ubuntu installation wget https://mega.nz/linux/MEGAsync/xUbuntu_(lsb_release -rs)/amd64/megacmd_amd64.deb sudo dpkg -i megacmd_amd64.deb sudo apt-get -f install # Login mega-login you@example.com YourPassword # Upload a backup mega-put /var/spool/asterisk/backups/ /
Common issues: Two-factor authentication requires session handling via mega-session. Fails on expired sessions.
3. Proton Drive (proton-drive-cli)
# Install via pip sudo apt-get install python3-pip pip3 install proton-drive-cli # Authenticate proton-drive login --username you@example.com # Sync a directory proton-drive sync upload /etc/asterisk /PBXwareConfigs
Common issues: Rate-limiting on free accounts ensure token refresh via proton-drive logout and login every 12h.
4. FileN (filen-cli)
# Download binary wget https://cdn.filen.io/filen-cli/linux/filen-cli-latest.tar.gz tar zxvf filen-cli-latest.tar.gz sudo mv filen /usr/local/bin/ # Configure filen login --email you@example.com --password YourPassword # Upload filen upload /var/lib/asterisk/voicemails vm_backups/
Common issues: Connection resets on large files – use --chunk-size parameter.
5. Tresorit (tresorit-cli)
# Download and install wget https://download.tresorit.com/tresorit-cli/latest/linux/tresorit-cli.tar.gz tar zxvf tresorit-cli.tar.gz sudo mv tresorit-cli /usr/local/bin/ # Setup tresorit-cli login you@example.com tresorit-cli sync /home/pbxuser/backups tresorit:PBXware
Common issues: FUSE mount permissions must run tresorit-cli daemon as root.
6. Icedrive (icedrive-cli)
# Install via snap or binary sudo snap install icedrive-cli # Or wget https://icedrive.net/linux/cli/icedrive-cli-linux.tar.gz tar zxvf icedrive-cli-linux.tar.gz sudo mv icedrive /usr/local/bin/ # Login icedrive login you@example.com # Sync icedrive sync upload /etc/pbx configs/
Common issues: Proxy settings in corporate networks – set HTTP_PROXY and HTTPS_PROXY env variables.
7. Dropbox (dropbox-cli)
# Debian/Ubuntu sudo apt-get install python3-gpg dropbox # Start daemon dropbox start -i # Get status dropbox status # Copy config to Dropbox folder cp /etc/pbx/user.conf ~/Dropbox/pbx-configs/
Common issues: CLI commands may require full path to ~/.dropbox-dist/dropboxd if installed manually.
8. AWS S3 (awscli)
# Install AWS CLI v2 curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o awscliv2.zip unzip awscliv2.zip sudo ./aws/install # Configure aws configure # Enter AWS Access Key, Secret, region (e.g. us-east-1) # Upload backup set aws s3 sync /var/backups/asterisk s3://my-pbx-bucket/asterisk/
Common issues: IAM permissions – ensure s3:PutObject and s3:ListBucket are allowed.
9. Rclone (Unified Interface)
# Install curl https://rclone.org/install.sh sudo bash # Configure (interactive) rclone config # Create remotes for pcloud, mega, aws, gdrive, etc. # Sync PBX backups to multiple remotes at once rclone sync /var/spool/asterisk/backups pcloud:PBX rclone sync /var/spool/asterisk/backups mega:PBX rclone sync /var/spool/asterisk/backups s3:pbx-bucket
Common issues: FUSE mounting may require rclone mount remote: /mnt/remote --allow-other and proper fuse.conf settings.
Conclusion
Selecting the right CLI-driven cloud storage for your Linux Bicom PBXware environment depends on your priorities: maximizing free tier capacity, ensuring zero-knowledge encryption, or leveraging enterprise-grade APIs and scripting capabilities. For multi-provider redundancy, Rclone provides a unified approach. For pure privacy and integration, Proton Drive or Tresorit excel. And for flexible, pay-as-you-go storage, the AWS CLI remains the gold standard.
Be the first to leave a comment